66 lines
1.1 KiB
PHP
66 lines
1.1 KiB
PHP
<?php
|
|
namespace Elementor\Modules\Library\Documents;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
/**
|
|
* Elementor container library document.
|
|
*
|
|
* Elementor container library document handler class is responsible for
|
|
* handling a document of a container type.
|
|
*
|
|
* @since 2.0.0
|
|
*/
|
|
class Container extends Library_Document {
|
|
|
|
public static function get_properties() {
|
|
$properties = parent::get_properties();
|
|
|
|
$properties['support_kit'] = true;
|
|
|
|
return $properties;
|
|
}
|
|
|
|
/**
|
|
* Get document name.
|
|
*
|
|
* Retrieve the document name.
|
|
*
|
|
* @since 2.0.0
|
|
* @access public
|
|
*
|
|
* @return string Document name.
|
|
*/
|
|
public function get_name() {
|
|
return 'container';
|
|
}
|
|
|
|
/**
|
|
* Get document title.
|
|
*
|
|
* Retrieve the document title.
|
|
*
|
|
* @since 2.0.0
|
|
* @access public
|
|
* @static
|
|
*
|
|
* @return string Document title.
|
|
*/
|
|
public static function get_title() {
|
|
return esc_html__( 'Container', 'elementor' );
|
|
}
|
|
|
|
/**
|
|
* Get Type
|
|
*
|
|
* Return the container document type.
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function get_type() {
|
|
return 'container';
|
|
}
|
|
}
|