src/Cms/Definition/ContentGroupDefiner.php
public function withHtml(string $name, string $label, string $containerElementCssSelector = null)
    {
        $this->contentGroup->htmlAreas[$name] = [
            'name'     => $name,
            'label'    => $label,
            'selector' => $containerElementCssSelector,
            'order'    => $this->order++,
        ];

        return $this;
    }
public function withHtml(string $name, string $label, string $containerElementCssSelector = null)
    {
        $this->contentGroup->htmlAreas[$name] = [
            'name'     => $name,
            'label'    => $label,
            'selector' => $containerElementCssSelector,
            'order'    => $this->order++,
        ];

        return $this;
    }
public function withHtml ( string $ name , string $ label , string $ containerElementCssSelector = null ) { $ this -> contentGroup -> htmlAreas [ $ name ] = [ 'name' => $ name , 'label' => $ label , 'selector' => $ containerElementCssSelector , 'order' => $ this -> order ++ , ] ; return $ this ; }
Defines a HTML field.

@param string $name
@param string $label
@param string $containerElementCssSelector

@return static
Defines a HTML field .