page_title.inc in Migrate Extras 6.2
Support for titles into the Page Title module.
File
page_title.incView source
<?php
/**
* @file
* Support for titles into the Page Title module.
*/
class MigratePageTitleNodeHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'node',
));
}
/**
* Make the destination field visible.
*/
public function fields() {
if (module_exists('page_title')) {
return array(
'page_title' => t('Page Title: Title for <title> tag'),
);
}
else {
return array();
}
}
}
Classes
Name![]() |
Description |
---|---|
MigratePageTitleNodeHandler | @file Support for titles into the Page Title module. |