You are here

public function ConfigActionsFile::__construct in Config Actions 8

Constructs a new ConfigActionsSource object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

ConfigActionsServiceInterface $config_action_service: The ConfigActionsService from the container.

FileSystem $file_system: The FileSystem from the container.

Overrides ConfigActionsSourceBase::__construct

File

src/Plugin/ConfigActionsSource/ConfigActionsFile.php, line 48

Class

ConfigActionsFile
Plugin for config source from files.

Namespace

Drupal\config_actions\Plugin\ConfigActionsSource

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigActionsServiceInterface $config_action_service, FileSystem $file_system) {
  $this->fileSystem = $file_system;
  parent::__construct($configuration, $plugin_id, $plugin_definition, $config_action_service);
}