Search for getDefinition

  1. Search 7.x for getDefinition
  2. Search 9.5.x for getDefinition
  3. Search 10.3.x for getDefinition
  4. Search 11.x for getDefinition
  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 Test 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
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().
ContextDefinition::getDefinitionClass function core/lib/Drupal/Core/Annotation/ContextDefinition.php Determines the context definition class to use.
DataReferenceDefinition::$targetDefinition property core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php
DataReferenceDefinition::getTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Gets the data definition of the referenced data.
DataReferenceDefinition::setTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Sets the definition of the referenced data.
DataReferenceDefinitionInterface::getTargetDefinition function core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php Gets the data definition of the referenced data.
DataReferenceTargetDefinition class core/lib/Drupal/Core/TypedData/DataReferenceTargetDefinition.php A typed data definition class for the entity reference target_id property.
DataReferenceTargetDefinition.php file core/lib/Drupal/Core/TypedData/DataReferenceTargetDefinition.php
DataReferenceTargetDefinition::getConstraints function core/lib/Drupal/Core/TypedData/DataReferenceTargetDefinition.php Returns an array of validation constraints.
DbDumpApplication::getDefinition function core/lib/Drupal/Core/Command/DbDumpApplication.php Overridden so the application doesn't expect the command name as the first
argument.
DefaultPluginManager::getDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Gets the definition of all plugins for this type.
DefaultPluginManagerTest::testGetDefinitionPluginNotFoundException function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests the plugin manager behavior for a missing plugin ID.
DefaultPluginManagerTest::testGetDefinitionsWithoutRequiredInterface function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests plugins without a required interface.
DerivativeDiscoveryDecorator::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DerivativeDiscoveryDecorator::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
DiscoveryCachedTrait::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php
DiscoveryCachedTraitTest::providerGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php Data provider for testGetDefinition().
DiscoveryCachedTraitTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @covers ::getDefinition
@dataProvider providerGetDefinition
DiscoveryInterface::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Gets a specific plugin definition.
DiscoveryInterface::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Gets the definition of all plugins for this type.
DiscoveryTrait::doGetDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php Gets a specific plugin definition.
DiscoveryTrait::getDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTrait::getDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTraitTest::providerDoGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testDoGetDefinition().
DiscoveryTraitTest::providerDoGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testDoGetDefinitionException()
DiscoveryTraitTest::testDoGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::doGetDefinition
@dataProvider providerDoGetDefinition
DiscoveryTraitTest::testDoGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::doGetDefinition
@dataProvider providerDoGetDefinitionException
@uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
DiscoveryTraitTest::testGetDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::getDefinition
@dataProvider providerDoGetDefinition
DiscoveryTraitTest::testGetDefinitionException function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::getDefinition
@dataProvider providerDoGetDefinitionException
@uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
EntityFieldDefinitionTrait::getDefinitionFromEntity function core/modules/migrate/src/EntityFieldDefinitionTrait.php Gets the field definition from a specific entity base field.
EntityManager::getDefinition function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testGetDefinition function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::getDefinition
EntityManagerTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::getDefinitions
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

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