Display
in package
Class Display
Table of Contents
Methods
- getDisplayTypes() : array<string|int, mixed>
- getEntityLinks() : array<string|int, array<string|int, mixed>>
- Returns all links for a given entity
- getPartials() : array<string|int, mixed>
Methods
getDisplayTypes()
public
static getDisplayTypes(array<string|int, mixed> $props) : array<string|int, mixed>
Parameters
- $props : array<string|int, mixed>
Return values
array<string|int, mixed>getEntityLinks()
Returns all links for a given entity
public
static getEntityLinks(string $entity[, string|bool $addLabel = FALSE ][, array<string|int, mixed>|null $excludeActions = NULL ]) : array<string|int, array<string|int, mixed>>
Parameters
- $entity : string
- $addLabel : string|bool = FALSE
-
Pass a string to supply a custom label, TRUE to use the default, or FALSE to keep the %1 placeholders in the text (used for the admin UI)
- $excludeActions : array<string|int, mixed>|null = NULL
Return values
array<string|int, array<string|int, mixed>>getPartials()
public
static getPartials(mixed $moduleName, mixed $module) : array<string|int, mixed>
Parameters
- $moduleName : mixed
- $module : mixed