namespace Drupal\Core\Template\Loader

Same name in other branches
  1. 11.x Drupal\Core\Template\Loader
  2. 9 Drupal\Core\Template\Loader
  3. 8.9.x Drupal\Core\Template\Loader
Object name File name Summary
ComponentLoader core/lib/Drupal/Core/Template/Loader/ComponentLoader.php Lets you load templates using the component ID.
FilesystemLoader core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php Loads templates from the filesystem.
StringLoader core/lib/Drupal/Core/Template/Loader/StringLoader.php Loads string templates, also known as inline templates.
ThemeRegistryLoader core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php Loads templates based on information from the Drupal theme registry.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.