function synonyms_provider_property_name in Synonyms 7
Reconstruct entity property name from the name of its provider.
This function is inverse of synonyms_provider_property_provider_name().
Parameters
string $provider: Name of the provider whose underlying entity property should be reconstructed
Return value
string Entity property name that corresponds to the $provider
See also
synonyms_provider_property_provider_name()
1 call to synonyms_provider_property_name()
- AbstractPropertySynonymsBehavior::__construct in synonyms_provider_property/
includes/ AbstractPropertySynonymsBehavior.class.inc
File
- synonyms_provider_property/
synonyms_provider_property.module, line 96 - Provides synonyms from entity properties.
Code
function synonyms_provider_property_name($provider) {
return drupal_substr($provider, drupal_strlen('synonyms_provider_property_'));
}