Quantcast
Channel: Issues for Drupal core
Browsing all 291095 articles
Browse latest View live

Assuming, that #type will be not empty always

I'm using hook_form_alter to alter search block form (actualy i need to add a adv. search link. So i decidet to use markup element<?php    $form['ad_search'] = array(        '#markup'=>...

View Article


Scroll to the first comment on the blog page if using pager link

When a user has already read a blog post and if he or she want to press next page link (or 1, or 2, or 3 page) to read following comments it would be a bit inconvenient to start reading the next page...

View Article


Put all test modules into the 'testing' Fieldset on the modules page (file...

There are two test modules for file, one appears in the Testing fieldset on the modules page and the other does not. This teeny tiny patch moves the file_module_test module into the testing fieldset...

View Article

Make typed config valid typed data

Right now, typed config implements the typed data interfaces but does not properly implements its API. Let's use this issue to work over that and fix things based upon#1913328: Provide general list and...

View Article

Improve typed data definitions of lists

Currently lists are defined like that:<?php$definition = array(  'type'=> 'item_type',  'constraints'=> array('item constraints'),  'list'=> TRUE,);?>That's a bit confusing as it's not...

View Article


Improve Contrast for onfocus Menu Items

Creating issue from #1924112-5: Make sure tour toolbar button has :focus styling when tabbed to.With the present look of the menu bar it is hard to see where you are as there is just a thin outline...

View Article

Fix views rest export plugin render values and add option to output raw values

Currently we have a conditional in the Style plugin that checks the field alias, and only displays the rendered field value if it's a unknown alias. This is a bit backwards, we can simplfy this logic...

View Article

Support If-Match on PATCH requests

AtomPub uses "optimistic locking" as a way of managing conflicting updates to resources. For example, two clients may have run a GET at the same time, but once one PUTs/PATCHs, then the changes in the...

View Article


Refactor views_ui_rearrange_form to remove theme function for table render

We currently have a theme_views_ui_rearrange_form function that renders the form build to be a table. Nowadays we can just do this natively using the form/render api in our form callback.There is a...

View Article


Refactor views_ui_rearrange_filter_form to remove theme function for table...

See #1929064: Refactor views_ui_rearrange_form to remove theme function for table render, same issue, different form. It just makes sense to break these up into more manageable patches.

View Article

Fix override-free context, move global config overrides back to an event...

ProblemIn #1763640: Followup: Introduce config context to make original config and different overrides accessible @pounard rightly points out that by implementing the global config overrides as a...

View Article

Explore performance of config caching per context

ProblemIn #1763640: Followup: Introduce config context to make original config and different overrides accessible @pounard said: ConfigFactory::get() caches config objects overriden by specific...

View Article

Provide a direct method to render an entity list

Currently, in order to generate an entity list you need the following in example.module:<?phpfunction example_menu() {  $items['example/list'] = array(    'page callback'=> 'example_list',...

View Article


Possibly inherit context properties between levels of the context stack

MotivationProposed by @pounard in #1763640: Followup: Introduce config context to make original config and different overrides accessible:+    // If there is a user set in the current context, set the...

View Article

All methods in EntityListController that are not in...

In order to be a list controller, you don't need to implement buildRow(), buildHeader(), and buildOperations(). Yet they are public, which could encourage them to be called from outside the class, and...

View Article


How to control the size of an image within a taxonomy page

I started a blog and the taxonomy terms are basically the categories for the blog streams. I don't like how small the images are on the taxonomy term pages - the URL ends with taxonomy/term/1I have a...

View Article

Drupal-agnostic components should not be calling Drupal functions

Anything that lives in /core/lib/Drupal/Component should function independently without having Drupal installed or available. However, digitalfire has discovered that Drupal\Component\Uuid\Com (which...

View Article


Undefined function: drupal_strtolower() in com.php

Fatal Error: Call to undefined function Drupal/Component/Uuid/drupal_strtolower() in core/lib/Drupal/Component/UuidCom.php line 18.Current environment is WAMP on windows 7.When trying to run the...

View Article

Drupal\Component\Uuid\Php cannot call drupal_random_bytes()

Because it is a Drupal-provided function and components cannot call them. Since drupal_random_bytes() is a simple utility function, I propose we move *it* to a Drupal\Component\Utility\RandomBytes.php...

View Article

format_username() should be used when outputing username in RDF module

This was reported by becw to the security team, but was cleared as there is no security concerns. It can be fixed publicly. When the RDF module is enabled, it renders the $account->name property...

View Article
Browsing all 291095 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>