protected static function PaymentLineItemsInput::getElementId in Payment 8.2
Gets the root element's HTML ID.
Parameters
mixed[] $element:
\Drupal\Core\Form\FormStateInterface $form_state:
Return value
string
1 call to PaymentLineItemsInput::getElementId()
- PaymentLineItemsInput::process in src/
Element/ PaymentLineItemsInput.php - Implements form #process callback.
File
- src/
Element/ PaymentLineItemsInput.php, line 387
Class
- PaymentLineItemsInput
- Provides a payment line items configuration element.
Namespace
Drupal\payment\ElementCode
protected static function getElementId(array $element, FormStateInterface $form_state) {
return Html::getId('payment-element-payment_line_items_input--' . implode('-', $element['#parents']));
}