carbon/firstelement
composer require carbon/firstelement
Get a boolean value returned if a content element is the first element in a ContentCollection or not
2.1.0
Readme excerpt
Carbon.FirstElement Package for Neos CMS
Get a boolean value returned if a content element is the first element in a ContentCollection or not. Great for automated headlines (h1 or h2)
InstallationCarbon.FirstElement is available via packagist. Add "carbon/firstelement" : "^1.0" to the require section of your composer.json or run composer require carbon/firstelement.
UsageIf you add the super type Carbon.FirstElement:Mixin to a node type definition, you activate the FlowQuery in the prototype Carbon.FirstElement:Mixin. Every Neos.Neos:Content and Neos.Neos:ContentComponent get automatically the property isFirstElement. If you want to extend another prototype y…
Read more
The same vendor provides 41 package(s).