Function Hook_CMA->get_content_type_label
Definitions
sources/content.php
- Get the label for this content type.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $row | ?array | No | No | Null | N/A | N/A | The database row for the content (null: no override support) |
Returns
- The label
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the label for this content type.
*
* @param ?array $row The database row for the content (null: no override support)
* @return Tempcode The label
*/
public function get_content_type_label(?array $row = null) : object
* Get the label for this content type.
*
* @param ?array $row The database row for the content (null: no override support)
* @return Tempcode The label
*/
public function get_content_type_label(?array $row = null) : object

