LayoutBuilderHighlightTrait
trait LayoutBuilderHighlightTrait (View source)
A trait for generating IDs used to highlight active UI elements.
Methods
string
blockAddHighlightId(string $delta, string $region)
Provides the ID used to highlight the active Layout Builder UI element.
string
blockUpdateHighlightId(string $uuid)
Provides the ID used to highlight the active Layout Builder UI element.
string
sectionAddHighlightId(string $delta)
Provides the ID used to highlight the active Layout Builder UI element.
string
sectionUpdateHighlightId(string $delta)
Provides the ID used to highlight the active Layout Builder UI element.
Details
protected string
blockAddHighlightId(string $delta, string $region)
Provides the ID used to highlight the active Layout Builder UI element.
protected string
blockUpdateHighlightId(string $uuid)
Provides the ID used to highlight the active Layout Builder UI element.
protected string
sectionAddHighlightId(string $delta)
Provides the ID used to highlight the active Layout Builder UI element.
protected string
sectionUpdateHighlightId(string $delta)
Provides the ID used to highlight the active Layout Builder UI element.