Skip to content
Snippets Groups Projects
Commit e0858e43 authored by Yash Rode's avatar Yash Rode Committed by Michael Anello
Browse files

Issue #3246542 by Daniel Korte, yash.rode: Support D7 migrations

parent d7a13b08
No related branches found
No related tags found
2 merge requests!33git commit -m 'Issue #3278150 by ultimike: "Strip HTML" formatter option improvements',!18Issue #3264613: Missing contributor.md file
......@@ -19,3 +19,14 @@ function smart_trim_help($route_name, RouteMatchInterface $route_match) {
return $output;
}
}
/**
* Implements hook_field_migration_field_formatter_info().
*/
function smart_trim_field_migration_field_formatter_info() {
return [
'text' => ['smart_trim_format' => 'smart_trim'],
'text_long' => ['smart_trim_format' => 'smart_trim'],
'text_with_summary' => ['smart_trim_format' => 'smart_trim'],
];
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment