You are here

function synonyms_provider_field_provider_name in Synonyms 7

Construct synonyms provider name out of underlying field.

This function is inverse of synonyms_provider_field_field_name().

Parameters

array $field: Field definition array whose provider name should be constructed

Return value

string Provider name that corresponds to the $field

See also

synonyms_provider_field_field_name()

7 calls to synonyms_provider_field_provider_name()
AbstractAutocompleteSynonymsWebTestCase::testAutocompleteMenuPath in ./synonyms.test
Test autocomplete menu path.
SynonymsSynonymsWebTestCase::testSynonyms in ./synonyms.test
Test the functionality of synonyms.
SynonymsWebTestCase::setUp in ./synonyms.test
SetUp method.
synonyms_add_entity_as_synonym in ./synonyms.module
Allow to merge $synonym_entity as a synonym into $trunk_entity.
synonyms_provider_field_field_delete_instance in synonyms_provider_field/synonyms_provider_field.module
Implements hook_field_delete_instance().

... See full list

File

synonyms_provider_field/synonyms_provider_field.module, line 78
Provides synonyms from entity fields.

Code

function synonyms_provider_field_provider_name($field) {
  return 'synonyms_provider_field_' . $field['field_name'];
}