diff --git a/core/modules/edit/edit.module b/core/modules/edit/edit.module index 0c8eb0f..fa804d4 100644 --- a/core/modules/edit/edit.module +++ b/core/modules/edit/edit.module @@ -139,6 +139,15 @@ function edit_library_info() { } /** + * Implements hook_entity_info(). + * + * Edit extends the @FieldFormatter annotation with the following keys: + * - edit: I have no idea what this does. Could be 'direct' I think. + */ +function edit_entity_info(&$info) { +} + +/** * Implements hook_preprocess_HOOK() for field.tpl.php. */ function edit_preprocess_field(&$variables) { diff --git a/core/modules/field/lib/Drupal/field/Annotation/FieldFormatter.php b/core/modules/field/lib/Drupal/field/Annotation/FieldFormatter.php index 9749dd6..7fac2bf 100644 --- a/core/modules/field/lib/Drupal/field/Annotation/FieldFormatter.php +++ b/core/modules/field/lib/Drupal/field/Annotation/FieldFormatter.php @@ -79,11 +79,4 @@ class FieldFormatter extends Plugin { */ public $settings = array(); - /** - * @todo Something from edit module, should not be in here. - * - * @var array - */ - public $edit; - }