user.new_role.html.twig
Same filename in other branches
--- label: 'Adding a new role' related: - user.overview - user.permissions --- {% set roles_url = render_var(url('entity.user_role.collection')) %} <h2>{% trans %}Goal{% endtrans %}</h2> <p>{% trans %}Create a new role.{% endtrans %}</p> <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>People</em> > <a href="{{ roles_url}}"><em>Roles</em></a>.{% endtrans %}</li> <li>{% trans %}Click <em>Add role</em>.{% endtrans %}</li> <li>{% trans %}Enter the desired <em>Role name</em>. If desired, click <em>Edit</em> to change the <em>Machine name</em> for the role.{% endtrans %}</li> <li>{% trans %}Click <em>Save</em>. You should be returned to the <em>Roles</em> page and your new role should be in the role list.{% endtrans %}</li> </ol>
File
-
core/
modules/ help_topics/ help_topics/ user.new_role.html.twig
View source
- ---
- label: 'Adding a new role'
- related:
- - user.overview
- - user.permissions
- ---
- {% set roles_url = render_var(url('entity.user_role.collection')) %}
- <h2>{% trans %}Goal{% endtrans %}</h2>
- <p>{% trans %}Create a new role.{% endtrans %}</p>
- <h2>{% trans %}Steps{% endtrans %}</h2>
- <ol>
- <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>People</em> > <a href="{{ roles_url}}"><em>Roles</em></a>.{% endtrans %}</li>
- <li>{% trans %}Click <em>Add role</em>.{% endtrans %}</li>
- <li>{% trans %}Enter the desired <em>Role name</em>. If desired, click <em>Edit</em> to change the <em>Machine name</em> for the role.{% endtrans %}</li>
- <li>{% trans %}Click <em>Save</em>. You should be returned to the <em>Roles</em> page and your new role should be in the role list.{% endtrans %}</li>
- </ol>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.