Méthode |
Description |
|
createGroupTabs ( Bolt\Storage\Mapping\ContentType $contentType, array $has ) : array |
Generate tab groups. |
|
getPublishingDate ( string $date, boolean $setNowOnEmpty = false ) : string |
Converts database publishing/depublishing dates to values to be used in Twig. |
|
getRelationsList ( Bolt\Storage\Mapping\ContentType $contentType ) : array |
Convert POST relationship values to an array of Entity objects keyed by
ContentType. |
|
getTemplateFieldTemplates ( Bolt\Storage\Mapping\ContentType $contentType, Content $content ) : array |
Determine which templates will result in templatefields. |
|
getUsedFieldtypes ( Bolt\Storage\Mapping\ContentType $contentType, Content $content, array $has ) : array |
Create a list of fields types used in regular, template and virtual fields. |
|
neededFields ( array $relationValues, array $relationConfig ) : array |
Get an array of fields mentioned in the 'format:' for a relationship in contenttypes. |
|