function TestViewsLocalTask::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.
Overrides ViewsLocalTask::getApplicableMenuViews
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ Derivative/ ViewsLocalTaskTest.php, line 399
Class
- TestViewsLocalTask
- Replaces the applicable views call for easier testability.
Namespace
Drupal\Tests\views\Unit\Plugin\DerivativeCode
protected function getApplicableMenuViews() {
return $this->result;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.