SectionInfoExtension
class SectionInfoExtension extends Twig_Extension
Class SectionInfoExtension is injected as app.section_info_extension service. SectionInfoExtension handles the logic and provides necessary data for managed entity in twig.
Methods
getFunctions()
{@inheritdoc}
null|Section
getSectionByPk(int $id)
Find section(from cache) that match provided id
string
getName()
Returns the name of the extension.
Details
at line 31
__construct(SectionManager $manager)
Constructor
at line 39
getFunctions()
{@inheritdoc}
at line 55
null|Section
getSectionByPk(int $id)
Find section(from cache) that match provided id
at line 65
string
getName()
Returns the name of the extension.