| 1 | <?php |
||
| 23 | class BreadcrumbListener |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $blockServices = array(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Add a renderer to the status services list. |
||
| 32 | * |
||
| 33 | * @param string $type |
||
| 34 | * @param BlockServiceInterface $blockService |
||
| 35 | */ |
||
| 36 | public function addBlockService($type, BlockServiceInterface $blockService) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Add context related BlockService, if found. |
||
| 43 | * |
||
| 44 | * @param BlockEvent $event |
||
| 45 | */ |
||
| 46 | public function onBlock(BlockEvent $event) |
||
| 67 | } |
||
| 68 |