You are here

protected function EntityField::getFieldTypeDefinition in Chaos Tool Suite (ctools) 8.3

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 331

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());
}