You are here

function entity_autocomplete_permission in Entity Autocomplete 7

Implements hook_permission().

File

./entity_autocomplete.module, line 11
Provides functionalities for entity fields autocompletion.

Code

function entity_autocomplete_permission() {
  return array(
    'use entity autocomplete' => array(
      'title' => t('Use Entity Autocomplete'),
      'description' => t('Access any entity autocomplete path. Warning: gives visibility to all entities.'),
    ),
  );
}