class Secure
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
Expanded class hierarchy of Secure
Related topics
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ Annotation/ Secure.php, line 8
Namespace
Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationView source
class Secure {
private $roles;
public function __construct(array $values) {
if (is_string($values['value'])) {
$values['value'] = array(
$values['value'],
);
}
$this->roles = $values['value'];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Secure::$roles | private | property | |
Secure::__construct | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.