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

Replace user_access() calls with $account->hasPermission() in content...

Let's start to convert all calls to user_access() with the new AccountInterface::hasPermission() method. Part of #2048171: [meta] Replace user_access() calls with $account->hasPermission() wherever...

View Article


Replace config context system with baked-in locale support and single-event...

Updated: Comment #19Problem/MotivationThe current configuration override system is very powerful, but very complicated. The current system provides far more flexibility and overhead than is required to...

View Article


Provide {{ item.item.alt }} Twig syntax for getting data from...

Problem/MotivationThis has come up in a few Twig conversions (cite specific ones?), and recently on Drupal StackExchange:...

View Article

Users 0 and 1 are created without a UUID

Steps to reproduce: Install Drupal, standard profile. Look at the {users} table. UUID is NULL for both. Then create a user via the UI. That one gets a real UUID.Expected behavior: The users created...

View Article

Image may be NSFW.
Clik here to view.

Button spacing CSS is too fragile

Problem/MotivationButtons need to have some spacing between them. The current CSS for this looks like:.button,.image-button {  margin-left: 1em;  margin-right:...

View Article


Add a KeyValueExpirableFactoryInterface

Updated: Comment #NProblem/MotivationThe KeyValueDatabaseExpirableFactory and KeyValueNullExpirableFactory classes currently implement the KeyValueFactoryInterface. This is not correct as these...

View Article

use \Symfony\Component\Debug\Exception\FlattenException instead of...

Problem/Motivation\Symfony\Component\HttpKernel\Exception\FlattenException is deprecated. Symfony's code recommends the use of \Symfony\Component\Debug\Exception\FlattenException. Proposed...

View Article

Use client-side cache tags & caching to eliminate 1 HTTP requests/page...

Updated: Comment #65Problem/MotivationDrupal 8 will ship with far more JavaScript. Drupal 8 will need to perform well on mobile.This means we must allow JavaScript code to apply smart client-side...

View Article


Review hook_help for Picture module

Background: This issue is part of the task to update/create the hook_help texts of the modules for Drupal 8:#1908570: [meta] Update or create hook_help() texts for D8 core modulesTasks: - write the...

View Article


Setting permissions for copied files with wrong user.

In the file_unmanaged_copy() function somewhere at the end we are callingdrupal_chmod($destination); Which is fine in the case of files that are owned by the same user that is currently running the...

View Article

[policy] Drupal and PSR-0/PSR-4 Class Loading

Quick summaryCurrently, Drupal 8 is using PSR-0 to organize class files in a directory structure, both for core and for modules. Some people complain that this results in an unnecessarily deep folder...

View Article

Remove Unused local variables from system module

Part of meta-issue #2002650: [meta] improve maintainability by removing unused local variables + #2080117: Add assertion to Drupal/system/Tests/Database/DeleteTruncateTest.phpFile...

View Article

Remove drupal_add_js() from menu.module

Part of #1839338: [meta] Remove drupal_set_*() drupal_add_*() in favour of #attached/response for out-of-band stuff .

View Article


Remove DRUPAL_BOOTSTRAP_DATABASE

Step 1 and most trivial step in getting rid of bootstrap "phases" that have no place in an object-oriented service architecture:The DRUPAL_BOOTSTRAP_DATABASE / _drupal_bootstrap_database() bootstrap...

View Article

Remove drupal_add_js() from simpletest.theme.inc

Part of #1839338: [meta] Remove drupal_set_*() drupal_add_*() in favour of #attached/response for out-of-band stuff .

View Article


Use config schema in saving and validating configuration form to ensure data...

Updated: Comment #0Problem/Motivationin #1653026: [META] Use properly typed values in module configuration we removed the automatic casting of all config scalar values to strings.Proposed resolutionUse...

View Article

Users don't get any feedback when they try to add more than the allowed...

When you try to add more shortcuts to your shortcut bar than are allowed (currently 7 by default), the last shortcut in your list is disabled and replaced with a new one.In #682000: Remove the default...

View Article


What sense do static langcode definitions in YAML files make?

A foundational question here: What logical sense does it make to have static langcode definitions in the configuration resp. YAML files if the language negiotation is set to e.g. current interface? I...

View Article

Review hook_help for xmlrpc.module

Background: This issue is part of the meta-issue for updating the hook_help texts of the Drupal 8 modules:#1908570: [meta] Update or create hook_help() texts for D8 core modulesTasks: - review / write...

View Article

Duplicate, identical node rendered in views when nodes have translations

Problem/MotivationWhen nodes exist with translations, duplicate copies of them appear in views, rendered identically. Eg. on stock Drupal 8, create articles with translations (configure translatability...

View Article
Browsing all 299931 articles
Browse latest View live


Latest Images

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