You are here

AccessResultAllowed.php in Drupal 10

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

Namesort descending Description
AccessResultAllowed Value object indicating an allowed access result, with cacheability metadata.