Update to Drupal 8.0.5. For more information, see https://www.drupal.org/node/2679347
This commit is contained in:
parent
2a9f1f148d
commit
fd3b12cf27
251 changed files with 5439 additions and 957 deletions
|
|
@ -325,6 +325,10 @@ function template_preprocess_vertical_tabs(&$variables) {
|
|||
*/
|
||||
function template_preprocess_input(&$variables) {
|
||||
$element = $variables['element'];
|
||||
// Remove name attribute if empty, for W3C compliance.
|
||||
if (isset($variables['attributes']['name']) && empty((string) $variables['attributes']['name'])) {
|
||||
unset($variables['attributes']['name']);
|
||||
}
|
||||
$variables['children'] = $element['#children'];
|
||||
}
|
||||
|
||||
|
|
@ -882,15 +886,13 @@ function &batch_get() {
|
|||
*
|
||||
* Depending on whether the batch is progressive or not, the
|
||||
* Drupal\Core\Queue\Batch or Drupal\Core\Queue\BatchMemory handler classes will
|
||||
* be used.
|
||||
* be used. The name and class of the queue are added by reference to the
|
||||
* batch set.
|
||||
*
|
||||
* @param $batch
|
||||
* The batch array.
|
||||
* @param $set_id
|
||||
* The id of the set to process.
|
||||
*
|
||||
* @return
|
||||
* The name and class of the queue are added by reference to the batch set.
|
||||
*/
|
||||
function _batch_populate_queue(&$batch, $set_id) {
|
||||
$batch_set = &$batch['sets'][$set_id];
|
||||
|
|
|
|||
Reference in a new issue