Function Hook_CMA->get_author

Definitions

sources/content.php

  • Get author for content.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$row array No No required parameter N/A N/A The database row for the content

Returns

  • Author (null: unknown)
  • Type: ?string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get author for content.
 *
 * @param  array $row The database row for the content
 * @return ?string Author (null: unknown)
 */

public function get_author(array $row) : ?string