ldc-groupe/content/plugins/wordpress-seo-premium/admin/config-ui/components/interface-component.php

43 lines
636 B
PHP
Raw Normal View History

2020-04-17 16:50:36 +02:00
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\ConfigurationUI
*/
/**
* Config Component interface.
*/
interface WPSEO_Config_Component {
/**
* Get onboarding wizard component identifier.
*
* @return string
*/
public function get_identifier();
/**
* Get onboarding wizard component data.
*
* @return mixed
*/
public function get_data();
/**
* Save changes.
*
* @param array $data Data provided by the API.
*
* @return mixed
*/
public function set_data( $data );
/**
* Get onboarding wizard component field.
*
* @return WPSEO_Config_Field
*/
public function get_field();
}