class MigratePageTitleNodeHandler in Migrate Extras 6.2
@file Support for titles into the Page Title module.
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \MigratePageTitleNodeHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of MigratePageTitleNodeHandler
1 string reference to 'MigratePageTitleNodeHandler'
File
- ./
page_title.inc, line 8 - Support for titles into the Page Title module.
View source
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();
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateHandler:: |
protected | property | List of other handler classes which should be invoked before the current one. | |
MigrateHandler:: |
protected | property | List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc. | |
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | Does this handler handle the given type? | |
MigrateHandler:: |
protected | function | Register a list of types handled by this class | |
MigratePageTitleNodeHandler:: |
public | function | Make the destination field visible. | |
MigratePageTitleNodeHandler:: |
public | function |
Overrides MigrateHandler:: |