You are here

TestTasksSettingsSub1.php in Zircon Profile 8

File

core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php
View source
<?php

/**
 * @file
 * Contains \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1.
 */
namespace Drupal\menu_test\Plugin\Menu\LocalTask;

use Drupal\Core\Menu\LocalTaskDefault;
use Drupal\Core\StringTranslation\StringTranslationTrait;
class TestTasksSettingsSub1 extends LocalTaskDefault {
  use StringTranslationTrait;

  /**
   * {@inheritdoc}
   */
  function getTitle() {
    return $this
      ->t('Dynamic title for @class', array(
      '@class' => 'TestTasksSettingsSub1',
    ));
  }

  /**
   * {@inheritdoc}
   */
  function getCacheTags() {
    return [
      'kittens:ragdoll',
    ];
  }

}

Classes