public function User::__construct in Zircon Profile 8
Same name in this branch
- 8 core/modules/user/src/Plugin/views/argument_default/User.php \Drupal\user\Plugin\views\argument_default\User::__construct()
- 8 core/modules/user/src/Plugin/views/argument_validator/User.php \Drupal\user\Plugin\views\argument_validator\User::__construct()
- 8 core/modules/user/src/Plugin/migrate/builder/d7/User.php \Drupal\user\Plugin\migrate\builder\d7\User::__construct()
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/migrate/builder/d7/User.php \Drupal\user\Plugin\migrate\builder\d7\User::__construct()
Constructs a d7_user builder plugin instance.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
Overrides PluginBase::__construct
File
- core/
modules/ user/ src/ Plugin/ migrate/ builder/ d7/ User.php, line 41 - Contains \Drupal\user\Plugin\migrate\builder\d7\User.
Class
- User
- Plugin annotation @PluginID("d7_user");
Namespace
Drupal\user\Plugin\migrate\builder\d7Code
public function __construct(array $configuration, $plugin_id, $plugin_definition, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->moduleHandler = $module_handler;
}