Search for target

  1. Search 7.x for target
  2. Search 9.5.x for target
  3. Search 8.9.x for target
  4. Search 10.3.x for target
  5. Other projects
Title Object type File name Summary
CommentType::$target_entity_type_id property core/modules/comment/src/Entity/CommentType.php The target entity type.
CommentType::getTargetEntityTypeId function core/modules/comment/src/Entity/CommentType.php Gets the target entity type id for this comment type.
CommentTypeInterface::getTargetEntityTypeId function core/modules/comment/src/CommentTypeInterface.php Gets the target entity type id for this comment type.
ConfigController::$targetStorage property core/modules/config/src/Controller/ConfigController.php The target storage.
ConfigEntityBase::getConfigTarget function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Gets the configuration target identifier for the entity.
ConfigImporterTest::testStorageComparerTargetStorage function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests the target storage caching during configuration import.
ConfigTarget class core/lib/Drupal/Core/Form/ConfigTarget.php Represents the mapping of a config property to a form element.
ConfigTarget.php file core/lib/Drupal/Core/Form/ConfigTarget.php
ConfigTarget::$elementParents property core/lib/Drupal/Core/Form/ConfigTarget.php The parents of the form element which maps to this config property.
ConfigTarget::$fromConfig property core/lib/Drupal/Core/Form/ConfigTarget.php Transforms a value loaded from config before it gets displayed by the form.
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/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 class core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @coversDefaultClass \Drupal\Core\Form\ConfigTarget
@group Form
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 The theme to install as the default for testing.
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 Modules to install.
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.
ConfigTranslationUiTest::testSourceAndTargetLanguage function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests source and target language edge cases.
Connection::$target property core/lib/Drupal/Core/Database/Connection.php The database target this connection is for.
Connection::getTarget function core/lib/Drupal/Core/Database/Connection.php Returns the target this connection is associated with.

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