public function LocalTaskInterface::getActive in Drupal 9
Same name and namespace in other branches
- 8 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\MenuCode
public function getActive();