public function MigrateMetatagHandler::fields in Metatag 7
Implements MigrateDestinationHandler::fields().
File
- ./
metatag.migrate.inc, line 102
Class
- MigrateMetatagHandler
- Metatag destination handler.
Code
public function fields() {
$fields = array();
$elements = metatag_get_info();
foreach ($elements['tags'] as $value) {
$metatag_field = 'metatag_' . $value['name'];
$fields[$metatag_field] = $value['description'];
}
return $fields;
}