42 if (isset(self::$instances[$identifier_string])) {
43 return self::$instances[$identifier_string];
46 $identification =
new PluginIdentification($this->plugin_id, $identifier_string, $this->class_name, $this->serializer, $this->provider->getProviderNameForPresentation());
47 $this->map->addToMap($identification);
49 return self::$instances[$identifier_string] = $identification;
An exception for terminatinating execution or to throw for unit testing.
Class PluginIdentificationProvider.
identifier(string $identifier_string)
IdentificationInterface use this CoreIdentification to put into your GlobalScreen-elements.
__construct(Provider $provider, string $plugin_id, SerializerInterface $serializer, IdentificationMap $map)
PluginIdentificationProvider constructor.
Class PluginIdentification.
Interface IdentificationInterface.
Class IdentificationProviderInterface.
Interface SerializerInterface.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc