Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!3942
Issue
#3261574
: Add .engine to files scanned by PHPCS
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3261574
: Add .engine to files scanned by PHPCS
issue/drupal-3261574:3261574-add-.engine-to
into
10.1.x
Overview
0
Commits
4
Pipelines
0
Changes
3
Open
Issue #3261574: Add .engine to files scanned by PHPCS
quietone
requested to merge
issue/drupal-3261574:3261574-add-.engine-to
into
10.1.x
May 5, 2023
Overview
0
Commits
4
Pipelines
0
Changes
3
0
0
Merge request reports
Compare
10.1.x
version 2
3fa3c585
May 5, 2023
version 1
e652d6c9
May 5, 2023
10.1.x (HEAD)
and
latest version
latest version
30161671
4 commits,
May 5, 2023
version 2
3fa3c585
3 commits,
May 5, 2023
version 1
e652d6c9
2 commits,
May 5, 2023
3 files
+
1
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine
+
0
−
9
View file @ fb002138
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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