Skip to content
Snippets Groups Projects

Issue #3261574: Add .engine to files scanned by PHPCS

Files

@@ -6,7 +6,6 @@
*/
use Drupal\Component\Utility\Html;
use Drupal\Core\Extension\Extension;
/**
* Implements hook_theme().
@@ -24,14 +23,6 @@ function nyan_cat_extension() {
/**
* Implements hook_render_template().
*
* @param string $template_file
* The filename of the template to render.
* @param mixed[] $variables
* A keyed array of variables that will appear in the output.
*
* @return string
* The output generated by the template.
*/
function nyan_cat_render_template($template_file, $variables) {
$output = str_replace('div', 'nyancat', file_get_contents(\Drupal::root() . '/' . $template_file));
Loading