Yoast\WP\SEO\Actions\Importing

Deactivate_Conflicting_Plugins_Action::__constructpublicYoast 1.0

Class constructor.

Метод класса: Deactivate_Conflicting_Plugins_Action{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Deactivate_Conflicting_Plugins_Action = new Deactivate_Conflicting_Plugins_Action();
$Deactivate_Conflicting_Plugins_Action->__construct( $import_cursor, $options, $sanitization, $replacevar_handler, $robots_provider, $robots_transformer, $conflicting_plugins_service );
$import_cursor(Import_Cursor_Helper) (обязательный)
The import cursor helper.
$options(Options_Helper) (обязательный)
The options helper.
$sanitization(Sanitization_Helper) (обязательный)
The sanitization helper.
$replacevar_handler(Aioseo_Replacevar_Service) (обязательный)
The replacevar handler.
$robots_provider(Aioseo_Robots_Provider_Service) (обязательный)
The robots provider service.
$robots_transformer(Aioseo_Robots_Transformer_Service) (обязательный)
The robots transfomer service.
$conflicting_plugins_service(Conflicting_Plugins_Service) (обязательный)
The Conflicting plugins Service.

Код Deactivate_Conflicting_Plugins_Action::__construct() Yoast 26.5

public function __construct(
	Import_Cursor_Helper $import_cursor,
	Options_Helper $options,
	Sanitization_Helper $sanitization,
	Aioseo_Replacevar_Service $replacevar_handler,
	Aioseo_Robots_Provider_Service $robots_provider,
	Aioseo_Robots_Transformer_Service $robots_transformer,
	Conflicting_Plugins_Service $conflicting_plugins_service
) {
	parent::__construct( $import_cursor, $options, $sanitization, $replacevar_handler, $robots_provider, $robots_transformer );

	$this->conflicting_plugins = $conflicting_plugins_service;
	$this->detected_plugins    = [];
}