ldc-espri-restauration/wp-content/plugins/wordpress-seo/admin/config-ui/components/interface-component.php

43 lines
636 B
PHP
Raw Normal View History

2017-06-13 09:45:37 +02:00
<?php
/**
2018-12-04 14:01:14 +01:00
* WPSEO plugin file.
*
2017-06-13 09:45:37 +02:00
* @package WPSEO\Admin\ConfigurationUI
*/
/**
2021-08-04 17:09:29 +02:00
* Config Component interface.
2017-06-13 09:45:37 +02:00
*/
interface WPSEO_Config_Component {
2018-12-04 14:01:14 +01:00
2017-06-13 09:45:37 +02:00
/**
2021-08-04 17:09:29 +02:00
* Get onboarding wizard component identifier.
*
2017-06-13 09:45:37 +02:00
* @return string
*/
public function get_identifier();
/**
2021-08-04 17:09:29 +02:00
* Get onboarding wizard component data.
*
2017-06-13 09:45:37 +02:00
* @return mixed
*/
public function get_data();
/**
2021-08-04 17:09:29 +02:00
* Save changes.
2017-06-13 09:45:37 +02:00
*
* @param array $data Data provided by the API.
*
* @return mixed
*/
public function set_data( $data );
/**
2021-08-04 17:09:29 +02:00
* Get onboarding wizard component field.
*
2017-06-13 09:45:37 +02:00
* @return WPSEO_Config_Field
*/
public function get_field();
}