protected property FormatterLegacyDiscoveryDecorator::$hook

Overrides Drupal\field\Plugin\Type\LegacyDiscoveryDecorator::$hook.

Overrides LegacyDiscoveryDecorator::$hook

File

drupal/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterLegacyDiscoveryDecorator.php, line 26
Definition of Drupal\field\Plugin\Type\Formatter\FormatterLegacyDiscoveryDecorator.

Class

FormatterLegacyDiscoveryDecorator
Custom decorator to add legacy widgets.

Namespace

Drupal\field\Plugin\Type\Formatter

Code

protected $hook = 'field_formatter_info';