protected functiongetRawUri() : string {
// If the form was created from a button rather than the form node, check for HTML5 action overridesif ($this->button !== $this->node && $this->button
->getAttribute('formaction')) {
return$this->button
->getAttribute('formaction');
}
return$this->node
->getAttribute('action');
}