Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 8.9.x for definition
  4. Search 10.3.x for definition
  5. Other projects
Title Object type File name Summary
StaticDiscovery::deleteDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Deletes a plugin definition.
StaticDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Gets the definition of all plugins for this type.
StaticDiscovery::setDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Sets a plugin definition.
StaticDiscoveryDecorator::$registerDefinitions property core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php A callback or closure used for registering additional definitions.
StaticDiscoveryDecorator::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php
StaticDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php Gets the definition of all plugins for this type.
StaticDiscoveryDecoratorTest::getRegisterDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Helper method to provide a mocked callback object with expectations.
StaticDiscoveryDecoratorTest::providerGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testGetDefinitions().
StaticDiscoveryDecoratorTest::providerGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testGetDefinitions().
StaticDiscoveryDecoratorTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::getDefinition
@dataProvider providerGetDefinition
StaticDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::getDefinitions
@dataProvider providerGetDefinitions
StaticDiscoveryDecoratorTestMockInterface::registerDefinitionsCallback function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Function used in the mocking process of this test.
StaticDiscoveryTestDecoratedClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Gets the definition of all plugins for this type.
StaticTest::alterRouteDefinition function core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php Allows access plugins to alter the route definition of a view.
StringArgument::getContextDefinition function core/modules/views/src/Plugin/views/argument/StringArgument.php Returns a context definition for this argument.
StringIdEntityTest::baseFieldDefinitions function core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php
StringItemBase::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php Defines field item properties.
SubProcessWithSkipTest::getDefinition function core/modules/migrate/tests/src/Kernel/process/SubProcessWithSkipTest.php Provides the test migration definition.
SystemMenuBlock::getDerivativeDefinitions function core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Gets the definition of all derivatives of a base plugin.
SystemMenuNavigationBlock::getDerivativeDefinitions function core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Gets the definition of all derivatives of a base plugin.
TelephoneItem::propertyDefinitions function core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php Defines field item properties.
Term::baseFieldDefinitions function core/modules/taxonomy/src/Entity/Term.php
Term::bundleFieldDefinitions function core/modules/taxonomy/src/Entity/Term.php
Test::getPluginDefinition function core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Gets the definition of the plugin implementation.
TestBaseFieldDefinitionInterface interface core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php Defines a test interface to mock entity base field definitions.
TestBaseFieldDefinitionInterface.php file core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php
TestContextAwarePluginDefinition class core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
TestCoverageTest::$definitions property core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php Entity definitions array.
TestDataTypeDeriver::getDerivativeDefinitions function core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php Gets the definition of all derivatives of a base plugin.
TestDerivativeDiscovery::getDerivativeDefinition function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php Gets the definition of a derivative plugin.
TestDerivativeDiscovery::getDerivativeDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php Gets the definition of all derivatives of a base plugin.
TestDerivativeDiscoveryWithObject::getDerivativeDefinition function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php
TestDerivativeDiscoveryWithObject::getDerivativeDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php
TestFilteredPluginManager::$definitions property core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php
TestFilteredPluginManager::getDefinitions function core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
TestHelpTopicDeriver::getDerivativeDefinition function core/modules/help/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php Gets the definition of a derivative plugin.
TestHelpTopicDeriver::getDerivativeDefinitions function core/modules/help/tests/modules/help_topics_test/src/Plugin/Deriver/TestHelpTopicDeriver.php Gets the definition of all derivatives of a base plugin.
TestItem::propertyDefinitions function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Defines field item properties.
TestObjectItem::propertyDefinitions function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestObjectItem.php Defines field item properties.
TestRouteBuilder::getRouteDefinitions function core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Retrieves all defined routes from .routing.yml files.
TextItemBase::propertyDefinitions function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php Defines field item properties.
TextWithSummaryItem::propertyDefinitions function core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php Defines field item properties.
ThemeLocalTask::getDerivativeDefinitions function core/modules/system/src/Plugin/Derivative/ThemeLocalTask.php Gets the definition of all derivatives of a base plugin.
ThemeLocalTask::getDerivativeDefinitions function core/modules/block/src/Plugin/Derivative/ThemeLocalTask.php Gets the definition of all derivatives of a base plugin.
TimestampItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/TimestampItem.php Defines field item properties.
ToolbarItemConditionsMetConstraintValidator::findDefinitionForToolbarItem function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php Searches for CKEditor 5 plugin that provides a given toolbar item.
TranslationTest::$fieldDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field to use in this test.
TranslationTest::$fieldStorageDefinition property core/modules/field/tests/src/Kernel/TranslationTest.php An array defining the field storage to use in this test.
TypedConfigManager::$definitions property core/lib/Drupal/Core/Config/TypedConfigManager.php The array of plugin definitions, keyed by plugin id.
TypedConfigManager::alterDefinitions function core/lib/Drupal/Core/Config/TypedConfigManager.php Invokes the hook to alter the definitions if the alter hook is set.

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