Search for __get

  1. Search 7.x for __get
  2. Search 9.5.x for __get
  3. Search 8.9.x for __get
  4. Search 10.3.x for __get
  5. Other projects
Title Object type File name Summary
ConfigTarget::$propertyPaths property core/lib/Drupal/Core/Form/ConfigTarget.php The property paths to target.
ConfigTarget::$toConfig property core/lib/Drupal/Core/Form/ConfigTarget.php Transforms a value submitted by the form before it is set in the config.
ConfigTarget::fromForm function core/lib/Drupal/Core/Form/ConfigTarget.php Gets the config target object for an element from a form array.
ConfigTarget::fromString function core/lib/Drupal/Core/Form/ConfigTarget.php Creates a ConfigTarget object.
ConfigTarget::getValue function core/lib/Drupal/Core/Form/ConfigTarget.php Retrieves the mapped value from config.
ConfigTarget::isMultiTarget function core/lib/Drupal/Core/Form/ConfigTarget.php Indicates if this object targets multiple property paths.
ConfigTarget::setValue function core/lib/Drupal/Core/Form/ConfigTarget.php Sets the submitted value from config.
ConfigTarget::__construct function core/lib/Drupal/Core/Form/ConfigTarget.php Constructs a ConfigTarget object.
ConfigTargetTest class core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @coversDefaultClass \Drupal\Core\Form\ConfigTarget
@group Form
ConfigTargetTest class core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php Tests forms using #config_target and #ajax together.
ConfigTargetTest class core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests forms using #config_target.
ConfigTargetTest.php file core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php
ConfigTargetTest.php file core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php
ConfigTargetTest.php file core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::$defaultTheme property core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php
ConfigTargetTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php The theme to install as the default for testing.
ConfigTargetTest::$modules property core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php
ConfigTargetTest::$modules property core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Modules to install.
ConfigTargetTest::providerMultiTargetWithoutCallables function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::providerTestFormCacheable function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::providerTestFromFormException function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testDuplicateTargetsNotAllowed function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers \Drupal\Core\Form\ConfigFormBase::storeConfigKeyToFormElementMap
ConfigTargetTest::testFormCacheable function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers \Drupal\Core\Form\ConfigFormBase::storeConfigKeyToFormElementMap
@dataProvider providerTestFormCacheable
ConfigTargetTest::testFromFormConfigTarget function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
ConfigTargetTest::testFromFormException function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@dataProvider providerTestFromFormException
ConfigTargetTest::testFromFormString function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@covers ::fromString
ConfigTargetTest::testGetValueCorrectConfig function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testIncorrectKey function core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests #config_target with an incorrect key.
ConfigTargetTest::testMultiTarget function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testMultiTargetWithoutCallables function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @dataProvider providerMultiTargetWithoutCallables
ConfigTargetTest::testNested function core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php Tests #config_target with callbacks.
ConfigTargetTest::testNested function core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests #config_target where there is not a 1:1 property to element.
ConfigTargetTest::testSetValueCorrectConfig function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testSetValueMultiTargetToConfigReturnValue function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @testWith ["this string was returned by toConfig", "The toConfig callable returned a string, but it must be an array with a key-value pair for each of the targeted property paths."]
[true, "The toConfig callable returned a…
ConfigTargetTest::testSingleTarget function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testTree function core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php Tests #config_target with no callbacks.
ConfigTargetTest::testTree function core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests #config_target where #tree is set to TRUE.
ConfigTest::getArrayProperty function core/modules/config/tests/config_test/src/Entity/ConfigTest.php Gets the array property value.
ConfigTest::getProtectedProperty function core/modules/config/tests/config_test/src/Entity/ConfigTest.php Gets the protected property value.
ConfigTest::provideGetMessageText function core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php
ConfigTest::testGetCacheTags function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::getCacheTags
ConfigTest::testGetMessageText function core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php @dataProvider provideGetMessageText
@covers ::getText
ConfigTest::testGetPathsForPackageMixedCase function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php @covers ::getPathsForPackage
ConfigTestResourceTestBase::getExpectedNormalizedEntity function core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
ConfigTestResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
ConfigTestResourceTestBase::getNormalizedPostEntity function core/modules/config/tests/config_test/tests/src/Functional/Rest/ConfigTestResourceTestBase.php
ConfigTestTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php Returns the expected JSON:API document for the entity.
ConfigTestTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php Return the expected error message.
ConfigTestTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/ConfigTestTest.php Returns the JSON:API POST document.
ConfigTranslationAddForm::getFormId function core/modules/config_translation/src/Form/ConfigTranslationAddForm.php Returns a unique string identifying the form.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.