public function FrontendEnvironmentPluginCollection::__construct in Build Hooks 8.2
Same name and namespace in other branches
- 3.x src/FrontendEnvironmentPluginCollection.php \Drupal\build_hooks\FrontendEnvironmentPluginCollection::__construct()
Constructs a new BlockPluginCollection.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $manager: The manager to be used for instantiating plugins.
string $instance_id: The ID of the plugin instance.
array $configuration: An array of configuration.
string $frontend_environment_id: The unique ID of the frontend environment entity using this plugin.
Overrides DefaultSingleLazyPluginCollection::__construct
File
- src/
FrontendEnvironmentPluginCollection.php, line 33
Class
- FrontendEnvironmentPluginCollection
- Provides a collection of front plugins.
Namespace
Drupal\build_hooksCode
public function __construct(PluginManagerInterface $manager, $instance_id, array $configuration, $frontend_environment_id) {
parent::__construct($manager, $instance_id, $configuration);
$this->frontendEnvironmentId = $frontend_environment_id;
}