You are here

public function ContentTranslationHandlerInterface::getFieldDefinitions in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_translation/src/ContentTranslationHandlerInterface.php \Drupal\content_translation\ContentTranslationHandlerInterface::getFieldDefinitions()
  2. 10 core/modules/content_translation/src/ContentTranslationHandlerInterface.php \Drupal\content_translation\ContentTranslationHandlerInterface::getFieldDefinitions()

Returns a set of field definitions to be used to store metadata items.

Return value

\Drupal\Core\Field\FieldDefinitionInterface[]

1 method overrides ContentTranslationHandlerInterface::getFieldDefinitions()
ContentTranslationHandler::getFieldDefinitions in core/modules/content_translation/src/ContentTranslationHandler.php
Returns a set of field definitions to be used to store metadata items.

File

core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 21

Class

ContentTranslationHandlerInterface
Interface for providing content translation.

Namespace

Drupal\content_translation

Code

public function getFieldDefinitions();