public function SubformStateInterface::createParents in Markdown 8.2
Creates a new parents array for a given element.
Parameters
string $name: The element name.
string $property: The property name (#parents or #array_parents).
Return value
array A new array of parents.
1 method overrides SubformStateInterface::createParents()
- SubformState::createParents in src/
Form/ SubformState.php - Creates a new parents array for a given element.
File
- src/
Form/ SubformStateInterface.php, line 63
Class
- SubformStateInterface
- Interface for markdown plugin subforms.
Namespace
Drupal\markdown\FormCode
public function createParents($name = NULL, $property = '#parents');