mirror of
https://github.com/proelements/proelements.git
synced 2026-04-05 20:13:47 +00:00
40 lines
720 B
PHP
40 lines
720 B
PHP
<?php
|
|
namespace ElementorPro\Core\Behaviors;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
// TODO: Used here for testing. Should be removed when it'll be available in the Core.
|
|
interface Temp_Lock_Behavior {
|
|
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function is_locked();
|
|
|
|
/**
|
|
* @return array {
|
|
*
|
|
* @type bool $is_locked
|
|
*
|
|
* @type array $badge {
|
|
* @type string $icon
|
|
* @type string $text
|
|
* }
|
|
*
|
|
* @type array $content {
|
|
* @type string $heading
|
|
* @type string $description
|
|
* }
|
|
*
|
|
* @type array $button {
|
|
* @type string $text
|
|
* @type string $url
|
|
* }
|
|
*
|
|
* }
|
|
*/
|
|
public function get_config();
|
|
}
|