public function EntityManagerWrapper::getInstance in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getInstance()
- 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getInstance()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getInstance()
Gets a preconfigured instance of a plugin.
Parameters
array $options: An array of options that can be used to determine a suitable plugin to instantiate and how to configure it.
Return value
object|false A fully configured plugin instance. The interface of the plugin instance will depend on the plugin type. If no instance can be retrieved, FALSE will be returned.
Overrides PluginManagerBase::getInstance
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 232
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function getInstance(array $options) {
return $this->entityManager
->getInstance($options);
}