Skip to content
Permalink
Browse files

[templates] Add code standard to module file and permissions (#4096)

  • Loading branch information...
harold20 authored and enzolutions committed Jun 21, 2019
1 parent abbfb5d commit 9adfcba595fdd2f03cca72c8d6922a63ca50f5aa
Showing with 5 additions and 5 deletions.
  1. +5 −4 templates/module/module-file.twig
  2. +0 −1 templates/module/permission.yml.twig
@@ -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,5 +1,4 @@
{% if permissions|length %}

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

0 comments on commit 9adfcba

Please sign in to comment.
You can’t perform that action at this time.