Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6
This commit is contained in:
parent
db56c09587
commit
f1e72395cb
588 changed files with 26857 additions and 2777 deletions
18
vendor/symfony/dom-crawler/Form.php
vendored
18
vendor/symfony/dom-crawler/Form.php
vendored
|
@ -69,7 +69,7 @@ class Form extends Link implements \ArrayAccess
|
|||
*
|
||||
* @param array $values An array of field values
|
||||
*
|
||||
* @return Form
|
||||
* @return $this
|
||||
*/
|
||||
public function setValues(array $values)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ class Form extends Link implements \ArrayAccess
|
|||
*
|
||||
* The returned array does not include file fields (@see getFiles).
|
||||
*
|
||||
* @return array An array of field values.
|
||||
* @return array An array of field values
|
||||
*/
|
||||
public function getValues()
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ class Form extends Link implements \ArrayAccess
|
|||
/**
|
||||
* Gets the file field values.
|
||||
*
|
||||
* @return array An array of file field values.
|
||||
* @return array An array of file field values
|
||||
*/
|
||||
public function getFiles()
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ class Form extends Link implements \ArrayAccess
|
|||
* This method converts fields with the array notation
|
||||
* (like foo[bar] to arrays) like PHP does.
|
||||
*
|
||||
* @return array An array of field values.
|
||||
* @return array An array of field values
|
||||
*/
|
||||
public function getPhpValues()
|
||||
{
|
||||
|
@ -157,8 +157,12 @@ class Form extends Link implements \ArrayAccess
|
|||
*
|
||||
* This method converts fields with the array notation
|
||||
* (like foo[bar] to arrays) like PHP does.
|
||||
* The returned array is consistent with the array for field values
|
||||
* (@see getPhpValues), rather than uploaded files found in $_FILES.
|
||||
* For a compound file field foo[bar] it will create foo[bar][name],
|
||||
* instead of foo[name][bar] which would be found in $_FILES.
|
||||
*
|
||||
* @return array An array of field values.
|
||||
* @return array An array of file field values
|
||||
*/
|
||||
public function getPhpFiles()
|
||||
{
|
||||
|
@ -242,8 +246,6 @@ class Form extends Link implements \ArrayAccess
|
|||
* Removes a field from the form.
|
||||
*
|
||||
* @param string $name The field name
|
||||
*
|
||||
* @throws \InvalidArgumentException when the name is malformed
|
||||
*/
|
||||
public function remove($name)
|
||||
{
|
||||
|
@ -277,7 +279,7 @@ class Form extends Link implements \ArrayAccess
|
|||
/**
|
||||
* Gets all fields.
|
||||
*
|
||||
* @return FormField[] An array of fields
|
||||
* @return FormField[]
|
||||
*/
|
||||
public function all()
|
||||
{
|
||||
|
|
Reference in a new issue