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
DataDefinition::setConstraints function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets an array of validation constraints.
DataDefinition::setDataType function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the data type.
DataDefinition::setDescription function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the human-readable description.
DataDefinition::setInternal function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the whether the data value should be internal.
DataDefinition::setLabel function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the human-readable label.
DataDefinition::setReadOnly function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets whether the data is read-only.
DataDefinition::setRequired function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets whether the data is required.
DataDefinition::setSetting function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets a definition setting.
DataDefinition::setSettings function core/lib/Drupal/Core/TypedData/DataDefinition.php Sets the array of settings, as required by the used class.
DataDefinition::toArray function core/lib/Drupal/Core/TypedData/DataDefinition.php Returns all definition values as array.
DataDefinition::__construct function core/lib/Drupal/Core/TypedData/DataDefinition.php Constructs a new data definition object.
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.
Must implement the \Drupal\Core\TypedData\DataDefinitionInterface.
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.
Must implement the \Drupal\Core\TypedData\ListDataDefinitionInterface.
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.

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