public StringLoader::isFresh($name, $time)
Returns true if the template is still fresh.
Parameters
string $name The template name:
int $time Timestamp of the last modification time of the: cached template
Return value
bool true if the template is fresh, false otherwise
Throws
Twig_Error_Loader When $name is not found
Overrides Twig_LoaderInterface::isFresh
File
- core/lib/Drupal/Core/Template/Loader/StringLoader.php, line 54
Class
- StringLoader
- Loads string templates, also known as inline templates.
Namespace
Drupal\Core\Template\Loader
Code
1 2 3 | public function isFresh( $name , $time ) { return TRUE; } |
Please login to continue.