Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

AccessResultAllowed.php

Namespace

Drupal\Core\Access

File

core/lib/Drupal/Core/Access/AccessResultAllowed.php

View source
<?php

namespace Drupal\Core\Access;


/**
 * Value object indicating an allowed access result, with cacheability metadata.
 */
class AccessResultAllowed extends AccessResult {
    
    /**
     * {@inheritdoc}
     */
    public function isAllowed() {
        return TRUE;
    }

}

Classes

Title Deprecated Summary
AccessResultAllowed Value object indicating an allowed access result, with cacheability metadata.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal