meta( 'permanently_locked', true ); } public static function get_type() { return 'e-list-item-content'; } public static function get_element_type(): string { return self::get_type(); } public function get_title() { return esc_html__( 'List item content', 'elementor' ); } public function get_icon() { return 'eicon-layout'; } public function should_show_in_panel() { return false; } public static function get_computed_html_tag( array $settings ): string { return Html_Tag_Computer::compute( $settings, 'div' ); } protected static function define_props_schema(): array { return [ 'classes' => Classes_Prop_Type::make() ->default( [] ) ->description( 'CSS classes applied to the content slot container.' ), 'attributes' => Attributes_Prop_Type::make() ->meta( Overridable_Prop_Type::ignore() ) ->description( 'Custom HTML attributes applied to the content slot element.' ), ]; } protected function define_atomic_controls(): array { return [ Section::make() ->set_label( __( 'Settings', 'elementor' ) ) ->set_id( 'settings' ) ->set_items( [] ), ]; } protected function define_base_styles(): array { return [ static::BASE_STYLE_KEY => Style_Definition::make() ->add_variant( Style_Variant::make() ->add_props( [ 'flex' => Flex_Prop_Type::generate( [ 'flexGrow' => Number_Prop_Type::generate( 1 ), ] ), ] ) ), ]; } protected function define_default_children() { return [ Atomic_Paragraph::generate() ->settings( [ 'paragraph' => Escaped_Html_Prop_Type::generate( __( 'List item', 'elementor' ) ), ] ) ->build(), ]; } protected function get_templates(): array { return [ 'elementor/elements/atomic-list-item-content' => __DIR__ . '/atomic-list-item-content.html.twig', ]; } }