You are here

function elasticsearch_connector_permission in Elasticsearch Connector 7

Same name and namespace in other branches
  1. 7.5 elasticsearch_connector.module \elasticsearch_connector_permission()
  2. 7.2 elasticsearch_connector.module \elasticsearch_connector_permission()

Implements hook_permission().

File

./elasticsearch_connector.module, line 42
This module provide an interface to connecting to the elasticsearch cluster and implementing the official Elasticsearch library.

Code

function elasticsearch_connector_permission() {
  return array(
    'administer elasticsearch connector' => array(
      'title' => t('Administer elasticsearch connector'),
      'description' => t('Provide access to administer elasticsearch clusters.'),
    ),
  );
}