You are here

public function ContextReaction::isActive in Breadcrumb Manager 8

Is active.

Return value

bool A boolean indicating whether the title resolver is active or not.

Overrides BreadcrumbTitleResolverBase::isActive

File

modules/breadcrumb_manager_context/src/Plugin/BreadcrumbTitleResolver/ContextReaction.php, line 94

Class

ContextReaction
Class ContextReaction.

Namespace

Drupal\breadcrumb_manager_context\Plugin\BreadcrumbTitleResolver

Code

public function isActive() {
  if ($this->moduleHandler
    ->moduleExists('context') === FALSE) {
    return FALSE;
  }
  return parent::isActive();
}