protected ConstraintManager::getDiscovery()
Gets the plugin discovery.
\Drupal\Component\Plugin\Discovery\DiscoveryInterface
Overrides DefaultPluginManager::getDiscovery
protected function getDiscovery() { if (!isset($this->discovery)) { $this->discovery = parent::getDiscovery(); $this->discovery = new StaticDiscoveryDecorator($this->discovery, [$this, 'registerDefinitions']); } return $this->discovery; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Validation!ConstraintManager.php/function/ConstraintManager::getDiscovery/8.1.x