Function Hook_actionlog->get_identifier

Definitions

sources/actionlog.php

  • Get identifier for an action log entry handled by this hook.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$actionlog_row array No No required parameter N/A N/A Action log row
$handler_data array No No required parameter N/A N/A Handler data

Returns

  • Identifier (null: none)
  • Type: ?string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get identifier for an action log entry handled by this hook.
 *
 * @param  array $actionlog_row Action log row
 * @param  array $handler_data Handler data
 * @return ?string Identifier (null: none)
 */

protected function get_identifier(array $actionlog_row, array $handler_data) : ?string