You are here

public function ActiveTrail::setsBreadcrumbs in Context Active Trail 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/ContextReaction/ActiveTrail.php \Drupal\context_active_trail\Plugin\ContextReaction\ActiveTrail::setsBreadcrumbs()

Whether or not to set the breadcrumbs.

File

src/Plugin/ContextReaction/ActiveTrail.php, line 135

Class

ActiveTrail
Provides a reaction that sets the active trail.

Namespace

Drupal\context_active_trail\Plugin\ContextReaction

Code

public function setsBreadcrumbs() {
  return !empty($this->configuration['breadcrumbs']);
}