public function DevelMailLog::__construct in Devel 8
Same name and namespace in other branches
- 8.3 src/Plugin/Mail/DevelMailLog.php \Drupal\devel\Plugin\Mail\DevelMailLog::__construct()
- 8.2 src/Plugin/Mail/DevelMailLog.php \Drupal\devel\Plugin\Mail\DevelMailLog::__construct()
- 4.x src/Plugin/Mail/DevelMailLog.php \Drupal\devel\Plugin\Mail\DevelMailLog::__construct()
Constructs a new DevelMailLog 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.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
File
- src/
Plugin/ Mail/ DevelMailLog.php, line 66
Class
- DevelMailLog
- Defines a mail backend that saves emails as temporary files.
Namespace
Drupal\devel\Plugin\MailCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory) {
$this->config = $config_factory
->get('devel.settings');
}