You are here

protected function ImageFieldDiffParser::getFieldMetaProperties in Entity Share 8.3

Declares needed field meta properties.

Overrides FileFieldDiffParser::getFieldMetaProperties

File

modules/entity_share_diff/src/Plugin/DiffGenerator/ImageFieldDiffParser.php, line 23

Class

ImageFieldDiffParser
Plugin to diff image fields.

Namespace

Drupal\entity_share_diff\Plugin\DiffGenerator

Code

protected function getFieldMetaProperties() {
  return [
    'alt' => (string) $this
      ->t('Alt'),
    'title' => (string) $this
      ->t('Image title'),
  ];
}