Function Hook_CMA->get_textual_field

Definitions

sources/content.php

  • Get particular textual information from a content row.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$row array required parameter N/A N/A The database row for the content
$render_type integer required parameter N/A N/A A FIELD_RENDER_* constant
$info array required parameter N/A N/A The info map for the content type
$field string required parameter N/A N/A The field name for what we are looking up
$dereference boolean required parameter N/A N/A Whether we need to dereference the field as a language string
$supports_comcode boolean required parameter N/A N/A Whether the field supports Comcode
$resource_fs_style boolean False N/A N/A Whether to use the content API as resource-fs requires (may be slightly different)

Return

  • Content title (string or Tempcode, depending on $render_type) (null: could not generate)
  • Type: ?mixed
  • Set: N/A
  • Range: N/A