public function PublishContentSettings::__construct in Publish Content 8
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PublishContentSettings.php, line 37
Class
- PublishContentSettings
- Class PublishContentSettings.
Namespace
Drupal\publishcontent\FormCode
public function __construct(ConfigFactoryInterface $config_factory, CacheTagsInvalidator $cache_invalidator) {
parent::__construct($config_factory);
$this->cacheInvalidator = $cache_invalidator;
}