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
DataDefinition::__sleep function core/lib/Drupal/Core/TypedData/DataDefinition.php
DataDefinitionInterface interface core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Interface for data definitions.
DataDefinitionInterface.php file core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php
DataDefinitionInterface::addConstraint function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Adds a validation constraint.
DataDefinitionInterface::createFromDataType function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Creates a new data definition object.
DataDefinitionInterface::getClass function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the class used for creating the typed data object.
DataDefinitionInterface::getConstraint function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a validation constraint.
DataDefinitionInterface::getConstraints function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns an array of validation constraints.
DataDefinitionInterface::getDataType function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the data type of the data.
DataDefinitionInterface::getDescription function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a human readable description.
DataDefinitionInterface::getLabel function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns a human readable label.
DataDefinitionInterface::getSetting function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the value of a given setting.
DataDefinitionInterface::getSettings function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns the array of settings, as required by the used class.
DataDefinitionInterface::isComputed function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data value is computed.
DataDefinitionInterface::isInternal function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data value is internal.
DataDefinitionInterface::isList function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Returns whether the data is multi-valued, i.e. a list of data items.
DataDefinitionInterface::isReadOnly function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether the data is read-only.
DataDefinitionInterface::isRequired function core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php Determines whether a data value is required.
DataReferenceDefinition class core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php A typed data definition class for defining references.
DataReferenceDefinition.php file core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php
DataReferenceDefinition::$targetDefinition property core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php
DataReferenceDefinition::create function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Creates a new data reference definition.
DataReferenceDefinition::createFromDataType function core/lib/Drupal/Core/TypedData/DataReferenceDefinition.php Creates a new data definition object.
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 interface core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php Interface for typed data references.
DataReferenceDefinitionInterface.php file core/lib/Drupal/Core/TypedData/DataReferenceDefinitionInterface.php
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.
DataType::$definition_class property core/lib/Drupal/Core/TypedData/Annotation/DataType.php The definition class to use for defining data of this type.
DataType::$list_definition_class property core/lib/Drupal/Core/TypedData/Annotation/DataType.php The definition class to use for defining a list of items of this type.
DateRangeItem::propertyDefinitions function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php Defines field item properties.
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with incomplete serialization context.
DateTimeItem::propertyDefinitions function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php Defines field item properties.
DbDumpApplication::getDefinition function core/lib/Drupal/Core/Command/DbDumpApplication.php Overridden so the application doesn't expect the command name as the first
argument.
DecimalItem::propertyDefinitions function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php Defines field item properties.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface but no implementation.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a required interface.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithMissingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a missing class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithNotExistingClassWithObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a non-existent class definition.
DefaultFactoryTest::testGetPluginClassWithValidArrayPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid array plugin definition.
DefaultFactoryTest::testGetPluginClassWithValidObjectPluginDefinition function core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php Tests getPluginClass() with a valid object plugin definition.
DefaultPluginManager::$pluginDefinitionAnnotationName property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The name of the annotation that contains the plugin definition.
DefaultPluginManager::$pluginDefinitionAttributeName property core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The name of the attribute that contains the plugin definition.

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