protected static function Conditions::buildElementName in Commerce Core 8.2
Builds the element name for the given parents.
Parameters
array $parents: The parents.
Return value
string The element name.
1 call to Conditions::buildElementName()
- Conditions::processConditions in src/
Element/ Conditions.php - Processes the conditions form element.
File
- src/
Element/ Conditions.php, line 207
Class
- Conditions
- Provides a form element for configuring conditions.
Namespace
Drupal\commerce\ElementCode
protected static function buildElementName(array $parents) {
$name = array_shift($parents);
$name .= '[' . implode('][', $parents) . ']';
return $name;
}