|
static | getAcceptableModelsForAttributeNames () |
|
Autopopulate a link element if available. Tries to find a name field or fullName field and attaches a link property to it.
Definition at line 42 of file AddLinkViewMetadataRules.php.
static resolveElementMetadata |
( |
|
$elementInformation, |
|
|
& |
$elementMetadata |
|
) |
| |
|
static |
This method relies on some assumptions that might not always be true. It assumes if you are using a related link, the type is exactly named as the model. This might not be true, but for now this is the best way to handle this.
- Parameters
-
array | $elementInformation | |
array | $elementMetadata | |
Definition at line 51 of file AddLinkViewMetadataRules.php.
The documentation for this class was generated from the following file: