# wordpress-seo/27.5/src/editors/domain/integrations/integration-data-provider-interface.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 27.5. 32 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/27.5/code/src/editors/domain/integrations/integration-data-provider-interface.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/27.5/raw/src/editors/domain/integrations/integration-data-provider-interface.php
- Modified: 2025-04-07T09:46:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/27.5/code/src/editors/domain/integrations/integration-data-provider-interface.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Editors\Domain\Integrations;

/**
 * Describes the interface for integration domain objects which can be enabled or not
 */
interface Integration_Data_Provider_Interface {

	/**
	 * If the integration is activated.
	 *
	 * @return bool If the integration is activated.
	 */
	public function is_enabled(): bool;

	/**
	 * Return this object represented by a key value array.
	 *
	 * @return array<string, bool> Returns the name and if the feature is enabled.
	 */
	public function to_array(): array;

	/**
	 * Returns this object represented by a key value structure that is compliant with the script data array.
	 *
	 * @return array<string, bool> Returns the legacy key and if the feature is enabled.
	 */
	public function to_legacy_array(): array;
}

```
