Function Hook_CMA->info
Definitions
sources/content.php
- Get content type details.
- Visibility: public
- Is abstract?: Yes
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ?ID_TEXT | Null | N/A | N/A | The zone to link through to (null: autodetect) |
$get_extended_data | boolean | False | N/A | N/A | Populate additional data that is somewhat costly to compute (add_url, archive_url) |
Return
- Map of content-type info (null: disabled)
- Type: ?array
- Set: N/A
- Range: N/A