function ViewsLocalTask::getApplicableMenuViews
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php \Drupal\views\Plugin\Derivative\ViewsLocalTask::getApplicableMenuViews()
Return a list of all views and display IDs that have a menu entry.
array(
array(
$view,
$display_id,
),
array(
$view,
$display_id,
),
);
Return value
array A list of arrays containing the $view and $display_id.
File
-
core/
modules/ views/ src/ Plugin/ Derivative/ ViewsLocalTask.php, line 162
Class
- ViewsLocalTask
- Provides local task definitions for all views configured as local tasks.
Namespace
Drupal\views\Plugin\DerivativeCode
protected function getApplicableMenuViews() {
return Views::getApplicableViews('uses_menu_links');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.