Skip to content

Commit 9adfcba

Browse files
hjuarez20enzolutions
authored andcommitted
[templates] Add code standard to module file and permissions (#4096)
1 parent abbfb5d commit 9adfcba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

templates/module/module-file.twig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
{% extends "base/file.php.twig" %}
2-
3-
{% block file_path %}{{machine_name}}.module.{% endblock %}
4-
1+
{% include 'module/php_tag.php.twig' %}
52

3+
/**
4+
* @file
5+
* Contains {{machine_name}}.module.
6+
*/

templates/module/permission.yml.twig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{% if permissions|length %}
2-
32
{% for permission in permissions %}
43
{{ permission.permission }}:
54
title: '{{ permission.title }}'

0 commit comments

Comments
 (0)