You are here

public function LocalTaskInterface::getActive in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Menu/LocalTaskInterface.php \Drupal\Core\Menu\LocalTaskInterface::getActive()
  2. 10 core/lib/Drupal/Core/Menu/LocalTaskInterface.php \Drupal\Core\Menu\LocalTaskInterface::getActive()

Gets the active status.

Return value

bool TRUE if the local task is active, FALSE otherwise.

See also

\Drupal\system\Plugin\MenuLocalTaskInterface::setActive()

1 method overrides LocalTaskInterface::getActive()
LocalTaskDefault::getActive in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
Gets the active status.

File

core/lib/Drupal/Core/Menu/LocalTaskInterface.php, line 86

Class

LocalTaskInterface
Defines an interface for menu local tasks.

Namespace

Drupal\Core\Menu

Code

public function getActive();