function LocalTaskDefault::getActive
Gets the active status.
Return value
bool TRUE if the local task is active, FALSE otherwise.
Overrides LocalTaskInterface::getActive
File
-
core/
lib/ Drupal/ Core/ Menu/ LocalTaskDefault.php, line 128
Class
- LocalTaskDefault
- Default object used for LocalTaskPlugins.
Namespace
Drupal\Core\MenuCode
public function getActive() {
return $this->active;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.