You are here

function synonyms_provider_property_provider_name in Synonyms 7

Construct synonyms provider name out of underlying property.

This function is inverse of synonyms_provider_property_name().

Parameters

string $property: Entity property name whose provider name should be constructed

Return value

string Provider name that corresponds to the $property

See also

synonyms_provider_property_name()

3 calls to synonyms_provider_property_provider_name()
AbstractAutocompleteSynonymsWebTestCase::setUp in ./synonyms.test
SetUp method.
SynonymsProviderPropertyWebTestCase::setUp in synonyms_provider_property/synonyms_provider_property.test
SetUp method.
synonyms_provider_property_synonyms_behavior_implementation_info in synonyms_provider_property/synonyms_provider_property.module
Implements hook_synonyms_behavior_implementation_info().

File

synonyms_provider_property/synonyms_provider_property.module, line 78
Provides synonyms from entity properties.

Code

function synonyms_provider_property_provider_name($property) {
  return 'synonyms_provider_property_' . $property;
}