function TestViewsLocalTask::setApplicableMenuViews
Sets applicable views result.
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ Derivative/ ViewsLocalTaskTest.php, line 391
Class
- TestViewsLocalTask
- Replaces the applicable views call for easier testability.
Namespace
Drupal\Tests\views\Unit\Plugin\DerivativeCode
public function setApplicableMenuViews($result) {
$this->result = $result;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.