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 11.x for definition
  5. Other projects
Title Object type File name Summary
EntityContextDefinition.php file core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php
EntityContextDefinition::fromEntity function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Creates a context definition from a given entity object.
EntityContextDefinition::fromEntityType function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Creates a context definition from a given entity type.
EntityContextDefinition::fromEntityTypeId function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Creates a context definition from a given entity type ID.
EntityContextDefinition::getConstraintObjects function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Extracts an array of constraints for a context definition object.
EntityContextDefinition::getEntityTypeId function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Returns the entity type ID of this context.
EntityContextDefinition::getSampleValues function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Returns typed data objects representing this context definition.
EntityContextDefinition::__construct function core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Constructs a new context definition object.
EntityContextDefinitionIsSatisfiedTest class core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\EntityContextDefinition
@group Plugin
EntityContextDefinitionIsSatisfiedTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
EntityContextDefinitionIsSatisfiedTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php The entity type bundle info.
EntityContextDefinitionIsSatisfiedTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php The entity type manager.
EntityContextDefinitionIsSatisfiedTest::assertRequirementIsSatisfied function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Asserts that the requirement is satisfied as expected.
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedBy().
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedByGenerateBundledEntity().
EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByPassBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedByPassBundledEntity().
EntityContextDefinitionIsSatisfiedTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @covers ::isSatisfiedBy
@covers ::dataTypeMatches
@covers ::getSampleValues
@covers ::getConstraintObjects
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @covers ::isSatisfiedBy
@covers ::dataTypeMatches
@covers ::getSampleValues
@covers ::getConstraintObjects
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @covers ::isSatisfiedBy
@covers ::dataTypeMatches
@covers ::getSampleValues
@covers ::getConstraintObjects
EntityConverterLatestRevisionTest::testRouteParamWithBundleDefinition function core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php Tests an entity route parameter having 'bundle' definition property.
EntityConverterTest::testRouteParamWithBundleDefinition function core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php Tests an entity route parameter having 'bundle' definition property.
EntityCreateDeriver::getDerivativeDefinitions function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/EntityCreateDeriver.php Gets the definition of all derivatives of a base plugin.
EntityDataDefinition class core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php A typed data definition class for describing entities.
EntityDataDefinition.php file core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php
EntityDataDefinition::create function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Creates a new entity definition.
EntityDataDefinition::createFromDataType function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Creates a new data definition object.
EntityDataDefinition::getBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Gets the array of possible entity bundles.
EntityDataDefinition::getDataType function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Returns the data type of the data.
EntityDataDefinition::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Gets the entity type ID.
EntityDataDefinition::getPropertyDefinitions function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Gets an array of property definitions of contained properties.
EntityDataDefinition::setBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Sets the array of possible entity bundles.
EntityDataDefinition::setEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php Sets the entity type ID.
EntityDataDefinitionInterface interface core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Interface for typed data entity definitions.
EntityDataDefinitionInterface.php file core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php
EntityDataDefinitionInterface::getBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the array of possible entity bundles.
EntityDataDefinitionInterface::getEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Gets the entity type ID.
EntityDataDefinitionInterface::setBundles function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Sets the array of possible entity bundles.
EntityDataDefinitionInterface::setEntityTypeId function core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinitionInterface.php Sets the entity type ID.
EntityDefinitionTestTrait trait core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Provides some test methods used to update existing entity definitions.
EntityDefinitionTestTrait.php file core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
EntityDefinitionTestTrait::addBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addBundleField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new bundle field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
EntityDefinitionTestTrait::addLongNameBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a long-named base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::addRevisionableBaseField function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a new revisionable base field to the 'entity_test_update' entity type.
EntityDefinitionTestTrait::applyEntityUpdates function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Applies all the detected valid changes.
EntityDefinitionTestTrait::deleteEntityType function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the entity type.
EntityDefinitionTestTrait::doEntityUpdate function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Performs an entity type definition update.

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