function Secure::__construct
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::__construct()
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure::__construct()
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure::__construct()
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ Annotation/ Secure.php, line 11
Class
Namespace
Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationCode
public function __construct(array $values) {
if (is_string($values['value'])) {
$values['value'] = array(
$values['value'],
);
}
$this->roles = $values['value'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.