} else { $data[$views_base_table]['table'
]['base'
]['defaults'
] =
[ 'field' =>
$label_key,
];
} } // Entity types must implement a list_builder in order to use Views'
// entity operations field.
if ($this->entityType->
hasListBuilderClass()) { $data[$base_table]['operations'
] =
[ 'field' =>
[ 'title' =>
$this->
t('Operations links'
),
'help' =>
$this->
t('Provides links to perform entity operations.'
),
'id' => 'entity_operations',
],
];
if ($revision_table) { $data[$revision_table]['operations'
] =
[ 'field' =>
[ 'title' =>
$this->
t('Operations links'
),