<?php
namespace Elementor\Modules\Library\Documents;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor Div_Block library document.
*
* Elementor div block library document handler class is responsible for
* handling a document of a div block type.
*
* @since 3.29.0
*/
class Div_Block 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 'e-div-block';
}
/**
* 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__( 'Div Block', 'elementor' );
}
/**
* Get Type
*
* Return the div block document type.
*
* @return string
*/
public static function get_type() {
return 'e-div-block';
}
}
|