Function Hook_fields_reference_multi->get_seo_source_map

Definitions

sources/hooks/systems/fields/reference_multi.php

  • Determine what data should be used from this field in SEO.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$val string required parameter N/A N/A The value of the field
$field_id integer required parameter N/A N/A The ID of the field
$content_type ID_TEXT required parameter N/A N/A The content type using this field
$content_id ?ID_TEXT Null N/A N/A The ID of the content using this field (null: not using a specific piece of content, such as adding a new entry)

Return

  • Either a string of the content to use in SEO, or a Tuple of [(string) content to use, (boolean) must use / high priority, (boolean) is a codename]
  • Type: mixed
  • Set: N/A
  • Range: N/A