Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Defines an access checker for entity collection.

#2482181: Entity collection access

Example:

entity.realty_type.collection:
  path: '/admin/structure/realty'
  defaults:
    _entity_list: 'realty_type'
    _title: 'Realty types'
  requirements:
    _entity_collection_access: 'realty_type'

entity.realty_type.add_form:
  path: '/admin/structure/realty/add'
  defaults:
    _entity_form: 'realty_type.add'
    _title: 'Add realty type'
  requirements:
    _entity_create_access: 'realty_type'

entity.realty_type.edit_form:
  path: '/admin/structure/realty/{realty_type}/edit'
  defaults:
    _entity_form: 'realty_type.edit'
    _title: 'Edit realty type'
  requirements:
    _entity_access: 'realty_type.edit'

entity.realty_type.delete_form:
  path: '/admin/structure/realty/{realty_type}/delete'
  defaults:
    _entity_form: 'realty_type.delete'
    _title: 'Delete realty type'
  requirements:
    _entity_access: 'realty_type.delete'

Project Information