You are here

function ArgumentPluginBase::set_breadcrumb in Views (for Drupal 7) 8.3

Give an argument the opportunity to modify the breadcrumb, if it wants. This only gets called on displays where a breadcrumb is actually used.

The breadcrumb will be in the form of an array, with the keys being the path and the value being the already sanitized title of the path.

2 methods override ArgumentPluginBase::set_breadcrumb()
IndexTid::set_breadcrumb in lib/Views/taxonomy/Plugin/views/argument/IndexTid.php
Give an argument the opportunity to modify the breadcrumb, if it wants. This only gets called on displays where a breadcrumb is actually used.
IndexTidDepth::set_breadcrumb in lib/Views/taxonomy/Plugin/views/argument/IndexTidDepth.php
Give an argument the opportunity to modify the breadcrumb, if it wants. This only gets called on displays where a breadcrumb is actually used.

File

lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 85
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function set_breadcrumb(&$breadcrumb) {
}