Quantcast
Browsing all 297358 articles
Browse latest View live

taxonomy_term_save not creating with vocab machine name

Have tried running this in an update hook, as well as via /devel/php, in both cases it failed.Essentially, the taxonomy_term_save() function creates a term (as the name suggests) in the specified...

View Article


Improve the UX for comment bundle pages and comment field settings

Problem/MotivationOver at #731724-284: Convert comment settings into a field to make them work with CMI and non-node entities the comment entity is getting a dedicated page for all it's different...

View Article


Fix transaction tests involving DDL for MySQL

Problem/MotivationRunning the HHVM unit tests for Drupal 7, I found that the Transaction tests were passing, however with exceptions. Determining the exact tests failing pointed out that it was a group...

View Article

Image may be NSFW.
Clik here to view.

Add a tiny bit of state magic in the image.module and hide the Title and Alt...

Problem/MotivationIt's confusing to be able to check that, for example, image title is translatable, but when editing or creating content, the title field does not show. This is because there is a...

View Article

Field default markup - removing the divitis

Problem/MotivationThe markup that is produced for a field is having a serious case of divitis - Looking at the discussions and the principles we build the frontend on for twig, that is wrong(tm)The...

View Article


FieldableDatabaseEntityStorageTest.php is misnamed

Updated: Comment #0Problem/MotivationFieldableDatabaseEntityStorageTest.php contains the class ContentEntityDatabaseStorageTest. Per the PSR-0 standard it should be called...

View Article

Any way to reuse database tables in setUp() from test to another?

Hi,I have a bunch of tests which all set up my site using Simpletest's setUp() function. The function itself takes a while to run because it installs Drupal and enables my site deployment module, which...

View Article

Step 2: Wrap the existing logic of accessing menu links into a plugin manager

Updated: Comment 0Problem/MotivationOnce #2226903: Step 1: Move static menu links to yml files is in we should try to wrap all the current code which is rendering menu links etc. to not use the content...

View Article


Allow the schema of an entity type to be auto-generated from its field schema...

Updated: Comment #0Problem/MotivationEach ContentEntity declares its entity fields in baseFieldDefinitions(). Each of those field( item)s knows its schema. However, the entity's schema is declared in...

View Article


"There was a problem checking available updates ..." for Drupal, modules or...

I have used both IE and Mozilla FireFox in Windows XP. Both of them got the same problem: Two lines of "There was a problem checking available updates for Drupal ..." showed up at the top of Modules...

View Article

Language configuration overrides should have their own storage

Problem/MotivationThis is a sub-issue for #2201437: [META-1] Config overrides and language, now that we refactored configuration classes, events for read and override loading for language. We did not...

View Article

N/A shown for non-required boolean field

It came up in #456640: Clarify text descriptions in Field UI for booleans that if a boolean field is not required, a third option is always shown in addition to the two chosen values: N/A. See the...

View Article

User and file entities do not support bundles

Since a user is an entity, it should be possible to have multiple user bundles. At first this idea looks very useless, because to differ between users we are using roles. But a role should just be...

View Article


Fully conform to PHP5.4 streamwrapper class

Problem/MotivationThis issue is a follow-up of #2107287: PHP 5.4 calls a new stream_metadata() method on stream wrappers not implemented by Drupal. Work here may proceed but that issue should get in...

View Article

Make the default core config service a db-backed storage with a cache layer.

Make the default core config service a db-backed storage with a cache layer. This will allow sites with memcached/redis support to take advantage of their existing non-db cache layer for config without...

View Article


drupalSettings.pathPrefix does not bear language identifier

Should we expect that in drupalSettings.path.pathPrefix we will have the language code, in case we have a multilingual installation with URL language detection enabled, and we are on a page with a...

View Article

Remove uses of deprecated XSS filter functions

The following functions have been refactored into methods on the XSS and UrlHelper classes, all calls should be replaced with direct calls to the methods specified in their...

View Article


Draggable tables do not work on touch screen devices

Problem/MotivationThe UI added by drupal_add_tabledrag() does not function at all on tested touch screen devices.Proposed resolutionif you drag an element on top of another one it becomes a child and...

View Article

Remove theme_system_modules_incompatible()

Issue #2151123 by joelpittet, c4rl, IshaDakota, pplantinga, gnuget, longwave, jeanfei, sbudker1: Remove theme_system_modules_incompatible()Problem/Motivationtheme_system_modules_incompatible() is just...

View Article

Introduce hook_entity_operation()

ProblemEntity operation links are defined by entity types' list controllers and can be altered using hook_entity_operation_alter(). However, Drupal core provides no way for modules to declare operation...

View Article
Browsing all 297358 articles
Browse latest View live