You are here

protected function FileFieldDiffParser::getFieldMetaProperties in Entity Share 8.3

Declares needed field meta properties.

1 call to FileFieldDiffParser::getFieldMetaProperties()
FileFieldDiffParser::build in modules/entity_share_diff/src/Plugin/DiffGenerator/FileFieldDiffParser.php
Builds an array of strings.
1 method overrides FileFieldDiffParser::getFieldMetaProperties()
ImageFieldDiffParser::getFieldMetaProperties in modules/entity_share_diff/src/Plugin/DiffGenerator/ImageFieldDiffParser.php
Declares needed field meta properties.

File

modules/entity_share_diff/src/Plugin/DiffGenerator/FileFieldDiffParser.php, line 94

Class

FileFieldDiffParser
Plugin to diff file fields.

Namespace

Drupal\entity_share_diff\Plugin\DiffGenerator

Code

protected function getFieldMetaProperties() {
  return [
    'description' => (string) $this
      ->t('Description'),
  ];
}