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

43 lines
636 B
PHP
Raw Normal View History

2021-09-21 15:01:08 +02:00
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\ConfigurationUI
*/
/**
2021-09-21 15:05:30 +02:00
* Config Component interface.
2021-09-21 15:01:08 +02:00
*/
interface WPSEO_Config_Component {
2021-09-21 15:05:30 +02:00
2021-09-21 15:01:08 +02:00
/**
2021-09-21 15:05:30 +02:00
* Get onboarding wizard component identifier.
*
2021-09-21 15:01:08 +02:00
* @return string
*/
public function get_identifier();
/**
2021-09-21 15:05:30 +02:00
* Get onboarding wizard component data.
*
2021-09-21 15:01:08 +02:00
* @return mixed
*/
public function get_data();
/**
2021-09-21 15:05:30 +02:00
* Save changes.
2021-09-21 15:01:08 +02:00
*
* @param array $data Data provided by the API.
*
* @return mixed
*/
public function set_data( $data );
/**
2021-09-21 15:05:30 +02:00
* Get onboarding wizard component field.
*
2021-09-21 15:01:08 +02:00
* @return WPSEO_Config_Field
*/
public function get_field();
}