public function SubformStateInterface::getAllParents in Markdown 8.2
Retrieves all parents for the form state up to this point.
Parameters
string $property: The property name (#parents or #array_parents).
Return value
array An indexed array of parents.
Throws
\InvalidArgumentException Thrown when the requested property does not exist.
\UnexpectedValueException Thrown when the subform is not contained by the given parent form.
1 method overrides SubformStateInterface::getAllParents()
- SubformState::getAllParents in src/
Form/ SubformState.php - Retrieves all parents for the form state up to this point.
File
- src/
Form/ SubformStateInterface.php, line 79
Class
- SubformStateInterface
- Interface for markdown plugin subforms.
Namespace
Drupal\markdown\FormCode
public function getAllParents($property = '#parents');