function emfield_update_6204 in Embedded Media Field 6.2
Give a warning regarding obsolete providers.
File
- ./
emfield.install, line 298 - This is the emfield.module's install, configuration, and removal file.
Code
function emfield_update_6204() {
$warning = t('Embedded Media Field no longer offers default third party media providers. If you have not already done so, you will most likely need to visit the !project project page and install the module(s) supporting the provider(s) you wish to include.', array(
'!project' => l(t('Embedded Media Field'), 'http://drupal.org/project/emfield', array(
'attributes' => array(
'target' => '_blank',
),
)),
));
drupal_set_message($warning, 'warning');
return array(
array(
'query' => $warning,
'success' => TRUE,
),
);
}