Search for getDefinition

  1. Search 7.x for getDefinition
  2. Search 9.5.x for getDefinition
  3. Search 8.9.x for getDefinition
  4. Search 10.3.x for getDefinition
  5. Other projects
Title Object type File name Summary
EntityFieldDefinitionTrait::getDefinitionFromEntity function core/modules/migrate/src/EntityFieldDefinitionTrait.php Gets the field definition from a specific entity base field.
EntityReference::getTargetDefinition function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Gets the definition of the referenced entity.
EntityTypeManager::getDefinition function core/lib/Drupal/Core/Entity/EntityTypeManager.php Gets a specific plugin definition.
EntityTypeManagerInterface::getDefinition function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php
EntityTypeManagerInterface::getDefinitions function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php
EntityTypeManagerTest::providerTestGetDefinition function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testGetDefinition().
EntityTypeManagerTest::testGetDefinition function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getDefinition() method.
EntityTypeManagerTest::testGetDefinitionInvalidException function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getDefinition() method with an invalid definition.
ExtractTest::getDefinition function core/modules/migrate/tests/src/Kernel/process/ExtractTest.php Returns test migration definition.
GenerateProxyClassApplication::getDefinition function core/lib/Drupal/Core/Command/GenerateProxyClassApplication.php Overridden so the application doesn't expect the command name as the first
argument.
HandleMultiplesTest::getDefinition function core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php Provides the test migration definition.
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::testGetDefinition function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with some plugins.
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.
HookDiscoveryTest::testGetDefinitionWithUnknownID function core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php Tests the getDefinition method with an unknown plugin ID.
InfoHookDecorator::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Gets the definition of all plugins for this type.
LayoutPluginManagerInterface::getDefinition function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
LayoutPluginManagerInterface::getDefinitions function core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php
LayoutPluginManagerTest::testGetDefinition function core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php @covers ::getDefinition
@covers ::processDefinition
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::getDefinition function core/lib/Drupal/Core/Menu/MenuLinkManager.php
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::getDefinition function core/lib/Drupal/Component/Plugin/PluginManagerBase.php
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::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::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
StaticDiscoveryTestDecoratedClass::getDefinitions function core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php Gets the definition of all plugins for this type.
SubProcessWithSkipTest::getDefinition function core/modules/migrate/tests/src/Kernel/process/SubProcessWithSkipTest.php Provides the test migration definition.
TestFilteredPluginManager::getDefinitions function core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php See \Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
TypedConfigManager::getDefinition function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets a specific plugin definition.
TypedConfigManager::getDefinitionWithReplacements function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets a schema definition with replacements for dynamic type names.
TypedConfigManagerInterface::getDefinition function core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php Gets a specific plugin definition.
WidgetPluginManagerTest::testWidgetDefinitionAlter function core/modules/field/tests/src/Kernel/WidgetPluginManagerTest.php Tests that the widget definitions alter hook works.
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
YamlDiscovery::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php Gets the definition of all plugins for this type.
YamlDiscoveryDecorator::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/YamlDiscoveryDecorator.php Gets the definition of all plugins for this type.
YamlDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php Tests the getDefinitions() method.

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