Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
AccessResultAllowed | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
isAllowed | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\Access\AccessResultAllowed. | |
*/ | |
namespace Drupal\Core\Access; | |
/** | |
* Value object indicating an allowed access result, with cacheability metadata. | |
*/ | |
class AccessResultAllowed extends AccessResult { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function isAllowed() { | |
return TRUE; | |
} | |
} |