protected function BlockPluginUI::allPluginsUrl

Provides an "all" style link to reset the facets.

The $display_plugin_id and $display_plugin_definition are provided for convenience when overriding this method.

Parameters

string $display_plugin_id: The plugin ID of the plugin we are currently parsing a facet link from.

array $display_plugin_definition: The plugin definition we are parsing.

Return value

string Returns a simple URL string for use within l().

1 call to BlockPluginUI::allPluginsUrl()
BlockPluginUI::form in drupal/core/modules/block/lib/Drupal/block/Plugin/PluginUI/BlockPluginUI.php
Overrides \Drupal\system\Plugin\PluginUIBase::form().

File

drupal/core/modules/block/lib/Drupal/block/Plugin/PluginUI/BlockPluginUI.php, line 224

Class

BlockPluginUI
Defines an overrideable UI for block selection, configuration, and placement.

Namespace

Drupal\block\Plugin\PluginUI

Code

protected function allPluginsUrl($display_plugin_id, $display_plugin_definition) {
  $plugin_definition = $this
    ->getPluginDefinition();
  return $plugin_definition['path'] . '/' . $this
    ->getPluginId() . '/add';
}