API / Minn\Blocks / Wrapper

Wrapper final class

Minn\Blocks\Wrapper · public/minn/src/Minn/Blocks/Wrapper.php · 59 lines

The opening tag of a dynamic block's wrapper, in the reference's class order: text alignment, the link-colour marker (for the blocks that carry it), the block's own extra classes (a taxonomy, an alignment), the custom class and its numbered style companion, the element-style class, the block's class, colour presets, font size and family, and the layout classes last; the style attribute inline.

Public

staticopen(string $tag, string $blockClass, Minn\Blocks\Block $block, bool $styleFirst = false, bool $linkColorClass = false, array $extraClasses = array ( ), array $trailingClasses = array ( )): string#

A dynamic block's opening tag with its classes in the reference's order.