function EntityField::getFieldTypeDefinition

Same name and namespace in other branches
  1. 4.0.x modules/ctools_block/src/Plugin/Block/EntityField.php \Drupal\ctools_block\Plugin\Block\EntityField::getFieldTypeDefinition()

Gets field type definition.

Return value

array The field type definition.

1 call to EntityField::getFieldTypeDefinition()
EntityField::defaultConfiguration in modules/ctools_block/src/Plugin/Block/EntityField.php

File

modules/ctools_block/src/Plugin/Block/EntityField.php, line 339

Class

EntityField
Provides a block to a field on an entity.

Namespace

Drupal\ctools_block\Plugin\Block

Code

protected function getFieldTypeDefinition() {
    return $this->fieldTypeManager
        ->getDefinition($this->getFieldStorageDefinition()
        ->getType());
}