public function BreadcrumbTitleResolverBase::setActive in Breadcrumb Manager 8
Set active.
Parameters
bool $active: A boolean indicating whether the title resolver is active or not.
Overrides BreadcrumbTitleResolverInterface::setActive
1 call to BreadcrumbTitleResolverBase::setActive()
- BreadcrumbTitleResolverBase::isActive in src/
Plugin/ BreadcrumbTitleResolverBase.php - Is active.
File
- src/
Plugin/ BreadcrumbTitleResolverBase.php, line 43
Class
- BreadcrumbTitleResolverBase
- Base class for Breadcrumb title resolver plugins.
Namespace
Drupal\breadcrumb_manager\PluginCode
public function setActive($active = TRUE) {
$this->isActive = (bool) $active;
}