Search for getDefinitions

  1. Search 7.x for getDefinitions
  2. Search 9.5.x for getDefinitions
  3. Search 8.9.x for getDefinitions
  4. Search 10.3.x for getDefinitions
  5. Other projects
Title Object type File name Summary
ActionManager::getDefinitionsByType function core/lib/Drupal/Core/Action/ActionManager.php Gets the plugin definitions for this entity type.
AnnotatedClassDiscovery::getDefinitions function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php Gets the definition of all plugins for this type.
AnnotatedClassDiscoveryAutomatedProviders::getDefinitions function core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php Gets the definition of all plugins for this type.
AnnotatedClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AnnotatedClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::getDefinitions
@covers ::prepareAnnotationDefinition
@covers ::getAnnotationReader
AnnotationBridgeDecorator::getDefinitions function core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecorator.php Gets the definition of all plugins for this type.
AnnotationBridgeDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php @covers ::getDefinitions
AttributeBridgeDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/AttributeBridgeDecorator.php Gets the definition of all plugins for this type.
AttributeBridgeDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @covers ::getDefinitions
AttributeClassDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Gets the definition of all plugins for this type.
AttributeClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AttributeClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @covers ::getDefinitions
@covers ::prepareAttributeDefinition
AttributeDiscoveryWithAnnotations::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Gets the definition of all plugins for this type.
CategorizingPluginManager::getDefinitions function core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php Provides some test definitions to the trait.
ConfigSchemaDiscovery::getDefinitions function core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php Gets the definition of all plugins for this type.
ConstraintManager::getDefinitionsByType function core/lib/Drupal/Core/Validation/ConstraintManager.php Returns a list of constraints that support the given type.
ContainerDerivativeDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php @covers ::getDefinitions
ContextAwarePluginManagerInterface::getDefinitionsForContexts function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerInterface.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextAwarePluginManagerTrait::getDefinitions function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
ContextAwarePluginManagerTrait::getDefinitionsForContexts function core/lib/Drupal/Core/Plugin/Context/ContextAwarePluginManagerTrait.php See \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface::getDefinitionsForContexts().
DefaultPluginManager::getDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Gets the definition of all plugins for this type.
DefaultPluginManagerTest::testGetDefinitionsWithoutRequiredInterface function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without a required interface.
DerivativeDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DiscoveryCachedTraitMockableClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php
DiscoveryInterface::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Gets the definition of all plugins for this type.
DiscoveryTrait::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTraitMockableClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php
EntityTypeManagerInterface::getDefinitions function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php
HelpTopicDiscovery::getDefinitions function core/modules/help/src/HelpTopicDiscovery.php Gets the definition of all plugins for this type.
HookDiscovery::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Gets the definition of all plugins for this type.
HookDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method with some plugins.
HookDiscoveryTest::testGetDefinitionsWithoutPlugins function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinitions() method without any plugins.
InfoHookDecorator::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Gets the definition of all plugins for this type.
LayoutPluginManagerInterface::getDefinitions function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
LayoutPluginManagerTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php @covers ::getDefinitions
@covers ::providerExists
LocalTaskManager::getDefinitions function core/lib/Drupal/Core/Menu/LocalTaskManager.php Gets the definition of all plugins for this type.
MenuLinkManager::getDefinitions function core/lib/Drupal/Core/Menu/MenuLinkManager.php
MigrationPluginListTest::testGetDefinitions function core/modules/migrate/tests/src/Kernel/Plugin/MigrationPluginListTest.php @covers ::getDefinitions
NoSourcePluginDecorator::getDefinitions function core/modules/migrate/src/Plugin/NoSourcePluginDecorator.php Gets the definition of all plugins for this type.
OptimizedPhpArrayDumperTest::getDefinitionsDataProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testGetServiceDefinitions().
PluginManagerBase::getDefinitions function core/lib/Drupal/Component/Plugin/PluginManagerBase.php
ProviderFilterDecorator::getDefinitions function core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php Gets the definition of all plugins for this type.
StaticDiscovery::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php Gets the definition of all plugins for this type.
StaticDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php Gets the definition of all plugins for this type.
StaticDiscoveryDecoratorTest::providerGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Data provider for testGetDefinitions().
StaticDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @covers ::getDefinitions
@dataProvider providerGetDefinitions
StaticDiscoveryTestDecoratedClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Gets the definition of all plugins for this type.
TestFilteredPluginManager::getDefinitions function core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
YamlDirectoryDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @covers ::getDefinitions
YamlDirectoryDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @covers ::getDefinitions

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