EntityStatus.php in CMS Content Sync 2.1.x
Same filename in this branch
Same filename and directory in other branches
File
src/Plugin/Menu/LocalTask/EntityStatus.phpView source
<?php
namespace Drupal\cms_content_sync\Plugin\Menu\LocalTask;
use Drupal\Core\Menu\LocalTaskDefault;
use Symfony\Component\HttpFoundation\Request;
/**
* Local task plugin to render dynamic tab title dynamically.
*/
class EntityStatus extends LocalTaskDefault {
/**
* {@inheritdoc}
*/
public function getTitle(Request $request = null) {
return _cms_content_sync_get_repository_name();
}
}
Classes
Name | Description |
---|---|
EntityStatus | Local task plugin to render dynamic tab title dynamically. |