Marks the headings as editable by adding the in-block
class to each of them, if it hasn't already been added.
More...
|
| __construct (array $topHeadingTags) |
|
| apply (DOMElement $node) |
| Performs html transformation.
|
|
|
| makeHeadingsEditable (array $headings) |
| Marks the headings as editable by adding the in-block class to each of them, if it hasn't already been added.
|
|
Marks the headings as editable by adding the in-block
class to each of them, if it hasn't already been added.
◆ __construct()
MobileFrontend\Transforms\SubHeadingTransform::__construct |
( |
array | $topHeadingTags | ) |
|
- Parameters
-
string[] | $topHeadingTags | list of heading tags ordered by weight |
◆ apply()
MobileFrontend\Transforms\SubHeadingTransform::apply |
( |
DOMElement | $node | ) |
|
◆ makeHeadingsEditable()
MobileFrontend\Transforms\SubHeadingTransform::makeHeadingsEditable |
( |
array | $headings | ) |
|
|
protected |
Marks the headings as editable by adding the in-block
class to each of them, if it hasn't already been added.
FIXME: in-block
isn't semantic in that it isn't obviously connected to being editable.
- Parameters
-
DOMElement[] | $headings | Heading elements |
The documentation for this class was generated from the following file:
- includes/Transforms/SubHeadingTransform.php