You are here

EntityStatus.php in CMS Content Sync 2.1.x

File

src/Plugin/Menu/LocalTask/EntityStatus.php
View 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

Namesort descending Description
EntityStatus Local task plugin to render dynamic tab title dynamically.