// if the site is configured to be multilingual.
if ($this->languageManager->
isMultilingual()) { return $this->
getEntity()->
getDescription();
} return $this->pluginDefinition
['description'
];
} /**
* {@inheritdoc}
*/
public function getDeleteRoute() { $operations =
$this->
getListBuilderOperations();
return isset($operations['delete'
]) ?
$operations['delete'
]['url'
] : NULL;
} /**
* {@inheritdoc}
*/
public function getEditRoute() { $operations =
$this->
getListBuilderOperations();
return isset($operations['edit'
]) ?
$operations['edit'
]['url'
] : NULL;
}