interface BreadcrumbTitleResolverInterface in Breadcrumb Manager 8
Defines an interface for Breadcrumb title resolver plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\breadcrumb_manager\Plugin\BreadcrumbTitleResolverInterface
Expanded class hierarchy of BreadcrumbTitleResolverInterface
All classes that implement BreadcrumbTitleResolverInterface
File
- src/
Plugin/ BreadcrumbTitleResolverInterface.php, line 12
Namespace
Drupal\breadcrumb_manager\PluginView source
interface BreadcrumbTitleResolverInterface extends PluginInspectionInterface {
/**
* Get title.
*
* @param string $path
* The path.
* @param \Symfony\Component\HttpFoundation\Request $request
* The Request.
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* The Route match.
*
* @return string
* The resolved title.
*/
public function getTitle($path, Request $request, RouteMatchInterface $route_match);
/**
* Set active.
*
* @param bool $active
* A boolean indicating whether the title resolver is active or not.
*/
public function setActive($active = TRUE);
/**
* Is active.
*
* @return bool
* A boolean indicating whether the title resolver is active or not.
*/
public function isActive();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BreadcrumbTitleResolverInterface:: |
public | function | Get title. | 4 |
BreadcrumbTitleResolverInterface:: |
public | function | Is active. | 1 |
BreadcrumbTitleResolverInterface:: |
public | function | Set active. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |