Function Hook_CMA->content_language_string

Definitions

sources/content.php

  • Get an action language string for a particular content type based on a stub.If it can't get a match it'll just use the stub.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$string string No No required parameter N/A N/A The language string stub, e.g. ADD (must itself be a valid language string)

Returns

  • Tempcode of language string
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get an action language string for a particular content type based on a stub.If it can't get a match it'll just use the stub.
 *
 * @param  string $string The language string stub, e.g. ADD (must itself be a valid language string)
 * @return Tempcode Tempcode of language string
 */

public function content_language_string(string $string) : object