Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 10.3.x for definition
  4. Search 11.x for definition
  5. Other projects
Title Object type File name Summary
EntityAdapterUnitTest::testGetDataDefinition function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getDataDefinition
EntityContextDefinition class core/lib/Drupal/Core/Plugin/Context/EntityContextDefinition.php Defines a class to provide entity context definitions.
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.
EntityContextDefinitionDeprecationTest class core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test deprecated use of ContextDefinition as an EntityContextDefinition.
EntityContextDefinitionDeprecationTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php
EntityContextDefinitionDeprecationTest::$compatibilityLayer property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php The compatibility layer property on the context definition under test.
EntityContextDefinitionDeprecationTest::$definition property core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php The context definition under test.
EntityContextDefinitionDeprecationTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php
EntityContextDefinitionDeprecationTest::testAddConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that addConstraint() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraint() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testGetConstraintObjects function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraintObjects() adds the EntityType constraint.
EntityContextDefinitionDeprecationTest::testGetConstraints function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that getConstraints() proxies to the compatibility layer.
EntityContextDefinitionDeprecationTest::testIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that isSatisfiedBy() calls the compatibility layer.
EntityContextDefinitionDeprecationTest::testSerialization function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that the BC layer survives serialization and unserialization.
EntityContextDefinitionDeprecationTest::testSetConstraints function core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.php Test that setConstraints() proxies to the compatibility layer.
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
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.

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