Skip to content

Instantly share code, notes, and snippets.

@typhonius
Created April 28, 2014 01:11
Show Gist options
  • Save typhonius/11359475 to your computer and use it in GitHub Desktop.
Save typhonius/11359475 to your computer and use it in GitHub Desktop.
user_restrictions_create_form:
route_name: user_restrictions.create_form
title: 'Add rule'
appears_on:
- user_restrictions.list_form
user_restrictions.list_form:
path: '/admin/config/people/user-restrictions'
defaults:
_form: '\Drupal\user_restrictions\Form\UserRestrictionsListForm'
_title: 'User Restrictions'
requirements:
_permission: 'administer user restrictions'
user_restrictions.create_form:
path: '/admin/config/people/user-restrictions/add'
defaults:
_form: '\Drupal\user_restrictions\Form\UserRestrictionsAddForm'
requirements:
_permission: 'administer user restrictions'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment