public function LocalTaskDefault::getActive
public LocalTaskDefault::getActive()
Gets the active status.
Return value
bool TRUE if the local task is active, FALSE otherwise.
Overrides LocalTaskInterface::getActive
See also
\Drupal\system\Plugin\MenuLocalTaskInterface::setActive()
File
- core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 126
Class
- LocalTaskDefault
- Default object used for LocalTaskPlugins.
Namespace
Drupal\Core\MenuCode
public function getActive() { return $this->active; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!LocalTaskDefault.php/function/LocalTaskDefault::getActive/8.1.x