Метод |
Описание |
|
__construct ( ShortcodesInfo $shortcodeInfo, VpidRepository $vpidRepository ) |
|
|
entityCanContainShortcodes ( string $entityName ) : boolean |
Return true if entity can contain shortcodes |
|
fieldCanContainShortcodes ( string $entityName, string $field ) : boolean |
Return true if a field on an entity can contain shortcodes |
|
replaceShortcodesInEntity ( string $entityName, array $entity ) : array |
Translates IDs to VPIDs in shortcodes for an entity |
|
restoreShortcodesInEntity ( string $entityName, array $entity ) : array |
Translates VPIDs to IDs in shortcodes for an entity |
|