function elasticsearch_connector_element_info in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.7 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 8.2 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 8.5 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 8.6 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 7.5 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 7 elasticsearch_connector.module \elasticsearch_connector_element_info()
- 7.2 elasticsearch_connector.module \elasticsearch_connector_element_info()
Implements hook_element_info().
File
- ./
elasticsearch_connector.module, line 50 - Provides hook implementations and functions accessible from other modules.
Code
function elasticsearch_connector_element_info() {
return array(
'ec_clusters' => array(
'#input' => TRUE,
'#multiple' => FALSE,
'#theme' => 'select',
'#theme_wrappers' => array(
'form_element',
),
'#process' => array(
'_elasticsearch_ec_clusters_process',
),
),
'ec_index' => array(
'#input' => TRUE,
'#tree' => TRUE,
'#multiple' => FALSE,
'#theme_wrappers' => array(
'form_element',
),
'#process' => array(
'_elasticsearch_ec_index_process',
),
'#attached' => _elasticsearch_ec_index_attached(),
),
);
}