function field_collection_help in Field collection 8.3
Same name and namespace in other branches
- 8 field_collection.module \field_collection_help()
- 7 field_collection.module \field_collection_help()
Implements hook_help().
File
- ./
field_collection.module, line 21 - Module implementing field collection field type.
Code
function field_collection_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.field_collection':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The field collection module provides a field, to which any number of fields can be attached. See the <a href="@field-help">Field module help page</a> for more information about fields.', [
'@field-help' => Url::fromRoute('help.page', [
'name' => 'field',
])
->toString(),
]) . '</p>';
return $output;
}
}