You are here

public static function TranslationViewsFieldDefinitions::buildOpLinksField in Translation Views 8

Translation operations field definition.

1 call to TranslationViewsFieldDefinitions::buildOpLinksField()
translation_views_views_data_alter in ./translation_views.views.inc
Implements hook_views_data_alter().

File

src/TranslationViewsFieldDefinitions.php, line 119

Class

TranslationViewsFieldDefinitions
Class TranslationViewsFieldDefinitions.

Namespace

Drupal\translation_views

Code

public static function buildOpLinksField() {
  $field['translation_operations'] = [
    'title' => t('Translation operations'),
    'help' => t('Provides links to perform translation operations.'),
    'field' => [
      'id' => 'translation_views_operations',
    ],
  ];
  return $field;
}