Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions



Helper function to set the order_by key of an array to zero.


$item: array 0; return $item; } /** * Helper function to cast functions that only echo things out e.g render functions to string type. * * @param callable $fn Function to cast * @param array $args Provide function's arguments if applicable */ function cast_echo_to_stringcallable $fn
$args array
required as
determine to
$type: callable explode'
$csv; []; foreach $list as $value
item array Item for which we need to set the order_by


array Same item with the order_by key zero.

This article was last updated 29th May 2024 09:35 Europe/London time based on the source file dated 22nd May 2024 22:15 Europe/London time.