function DataDefinitionInterface::getDescription

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDescription()
  2. 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDescription()
  3. 11.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getDescription()

Returns a human readable description.

Descriptions are usually used on user interfaces where the data is edited or displayed.

Return value

string|null The description, or NULL if no description is available.

2 methods override DataDefinitionInterface::getDescription()
DataDefinition::getDescription in core/lib/Drupal/Core/TypedData/DataDefinition.php
Returns a human readable description.
FieldConfigBase::getDescription in core/lib/Drupal/Core/Field/FieldConfigBase.php
Returns a human readable description.

File

core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 75

Class

DataDefinitionInterface
Interface for data definitions.

Namespace

Drupal\Core\TypedData

Code

public function getDescription();

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