mirror of
https://github.com/proelements/proelements.git
synced 2026-04-18 01:52:20 +00:00
v3.33.1
This commit is contained in:
39
core/behaviors/temp-lock-behavior.php
Normal file
39
core/behaviors/temp-lock-behavior.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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();
|
||||
}
|
||||
Reference in New Issue
Block a user