Function: toPhp()
function toPhp(block, generator): [string, Order];
Defined in: plugins/field-colour/src/blocks/colourBlend.ts:199
PHP generator definition.
Parameters
| Parameter | Type | Description |
|---|---|---|
block | Block | The Block instance to generate code for. |
generator | PhpGenerator | The PhpGenerator calling the function. |
Returns
[string, Order]
A tuple containing the code string and precedence.