public function FeatureListBuilder::getDefaultOperations in Configuration selector 8
Same name and namespace in other branches
- 8.2 src/FeatureListBuilder.php \Drupal\config_selector\FeatureListBuilder::getDefaultOperations()
Gets this list's default operations.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for.
Return value
array The array structure is identical to the return value of self::getOperations().
Overrides ConfigEntityListBuilder::getDefaultOperations
File
- src/
FeatureListBuilder.php, line 27
Class
- FeatureListBuilder
- Builds a listing of Configuration Selector feature entities.
Namespace
Drupal\config_selectorCode
public function getDefaultOperations(EntityInterface $entity) {
$operations = parent::getDefaultOperations($entity);
$operations['manage'] = [
'title' => $this
->t('Manage configuration'),
'url' => $entity
->toUrl('manage'),
];
return $operations;
}