Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -76,7 +76,7 @@ class AnnotatedClassDiscovery extends ComponentAnnotatedClassDiscovery {
|
|||
$reader = parent::getAnnotationReader();
|
||||
|
||||
// Add the Core annotation classes like @Translation.
|
||||
$reader->addNamespace('Drupal\Core\Annotation', array(dirname(dirname(__DIR__)) . '/Annotation'));
|
||||
$reader->addNamespace('Drupal\Core\Annotation');
|
||||
$this->annotationReader = $reader;
|
||||
}
|
||||
return $this->annotationReader;
|
||||
|
|
Reference in a new issue