protected function DescriptionTemplateTrait::getDescriptionTemplatePath in Popup 8
Get full path to the template.
Return value
string Path string.
1 call to DescriptionTemplateTrait::getDescriptionTemplatePath()
- DescriptionTemplateTrait::description in src/
Utility/ DescriptionTemplateTrait.php - Generate a render array with our templated content.
File
- src/
Utility/ DescriptionTemplateTrait.php, line 74
Class
- DescriptionTemplateTrait
- Trait to implement a "drop-in" template for Example's controllers.
Namespace
Drupal\popup\UtilityCode
protected function getDescriptionTemplatePath() {
return drupal_get_path('module', $this
->getModuleName()) . "/templates/description.html.twig";
}