protected function EntityField::getFormatterOptions in Chaos Tool Suite (ctools) 8.3
Gets the formatter options for this field type.
Return value
array The formatter options.
1 call to EntityField::getFormatterOptions()
- EntityField::blockForm in modules/
ctools_block/ src/ Plugin/ Block/ EntityField.php
File
- modules/
ctools_block/ src/ Plugin/ Block/ EntityField.php, line 341
Class
- EntityField
- Provides a block to a field on an entity.
Namespace
Drupal\ctools_block\Plugin\BlockCode
protected function getFormatterOptions() {
return $this->formatterManager
->getOptions($this
->getFieldStorageDefinition()
->getType());
}