AnnotatedClassDiscovery::$namespaceSuffix

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::namespaceSuffix
  2. 8.9.x core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::namespaceSuffix
  3. 11.x core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php \Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::namespaceSuffix

The namespace suffix.

A suffix to append to each base namespace, to obtain the namespaces where plugins are found.

Type: string

File

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

Class

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

Namespace

Drupal\Core\Plugin\Discovery

Code

protected $namespaceSuffix = '';

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