Skip to content

Commit

Permalink
[templates] Add code standard to module file and permissions (#4096)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed Jun 21, 2019
1 parent abbfb5d commit 9adfcba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions templates/module/module-file.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "base/file.php.twig" %}

{% block file_path %}{{machine_name}}.module.{% endblock %}

{% include 'module/php_tag.php.twig' %}

/**
* @file
* Contains {{machine_name}}.module.
*/
1 change: 0 additions & 1 deletion templates/module/permission.yml.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% if permissions|length %}

{% for permission in permissions %}
{{ permission.permission }}:
title: '{{ permission.title }}'
Expand Down

0 comments on commit 9adfcba

Please sign in to comment.