The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
GNU General Public License v3.0
34
stars
11
forks
source link
Move TwigTruncate code from manipulator class to utility class #379
The custom Twig filter TwigTruncate should be moved to a utility class so it can be shared across all Twig template implementations (other manipulators, metadataparsers, etc). The first instance where we could reuse it is in the Templated metadata parser.
We could do this by creating a utility class src/utilities/Twig, which would contain all custom Twig extensions.
The custom Twig filter TwigTruncate should be moved to a utility class so it can be shared across all Twig template implementations (other manipulators, metadataparsers, etc). The first instance where we could reuse it is in the Templated metadata parser.
We could do this by creating a utility class src/utilities/Twig, which would contain all custom Twig extensions.