You are here

public static function EasyBreadcrumbBuilder::create in Easy Breadcrumb 8

File

src/EasyBreadcrumbBuilder.php, line 227

Class

EasyBreadcrumbBuilder
Primary implementation for the Easy Breadcrumb builder.

Namespace

Drupal\easy_breadcrumb

Code

public static function create(ContainerInterface $container) {
  return new static($definition = $container
    ->getDefinition('easy_breadcrumb.title_resolver'), $definition
    ->setClass('Drupal\\easy_breadcrumb\\TitleResolver'));
}