AnnotatedClassDiscovery::$directorySuffix

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::directorySuffix
  2. 8.9.x core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::directorySuffix
  3. 10 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::directorySuffix

The directory suffix.

A suffix to append to each PSR-4 directory associated with a base namespace, to form the directories where plugins are found.

Type: string

File

core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php, line 21

Class

AnnotatedClassDiscovery
Defines a discovery mechanism to find annotated plugins in PSR-4 namespaces.

Namespace

Drupal\Core\Plugin\Discovery

Code

protected $directorySuffix = '';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.