modules/thunder_article/src/Breadcrumb/ThunderArticleBreadcrumbBuilder.php
public function applies(RouteMatchInterface $route_match) {
    // This breadcrumb apply only for all articles.
    $parameters = $route_match->getParameters()->all();
    if (isset($parameters['node']) && is_object($parameters['node'])) {
      return $parameters['node']->getType() == 'article';
    }
    return FALSE;
  }
public function applies(RouteMatchInterface $route_match) {
    // This breadcrumb apply only for all articles.
    $parameters = $route_match->getParameters()->all();
    if (isset($parameters['node']) && is_object($parameters['node'])) {
      return $parameters['node']->getType() == 'article';
    }
    return FALSE;
  }
public function applies ( RouteMatchInterface $ route_match ) { // This breadcrumb apply only for all articles. $ parameters = $ route_match -> getParameters ( ) -> all ( ) ; if ( isset ( $ parameters [ 'node' ] ) && is_object ( $ parameters [ 'node' ] ) ) { return $ parameters [ 'node' ] -> getType ( ) == 'article' ; } return FALSE ; }
{@inheritdoc}
{