Function Hook_CMA->get_most_relevant_time

Definitions

sources/content.php

  • Get the most relevant timestamp for content. What this actually is depends on the content.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

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

  • Add time (null: unknown)
  • Type: ?TIME
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the most relevant timestamp for content. What this actually is depends on the content.
 *
 * @param  array $row The database row for the content
 * @return ?TIME Add time (null: unknown)
 */

public function get_most_relevant_time(array $row) : ?int