- πΊπΈUnited States bluegeek9
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .
Should Domain make it's information available through hook_entity_info_alter() ? This makes domain information accessible to Rules, Search API and other modules that use entity API data.
Are changes like this ruled out for 7.x-2.x?
I'd need to reed the Entity API docs more closely before submitting a patch. I think it wouldn't need to be much more than this:
/**
* Implements hook_entity_property_info_alter().
*
* Adding domain properties.
*/
function domain_entity_property_info_alter(&$info) {
$properties = &$info['node']['properties'];
$properties['domain_source'] = array(
'label' => t('Domain Source'),
'description' => t(''),
'type' => 'integer',
);
$properties['domains'] = array(
'label' => t('Domains'),
'description' => t(''),
'type' => 'list<integer>',
);
}
Closed: outdated
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade β .