Quantcast
Browsing all 293396 articles
Browse latest View live

ContentEntityBase should provide field definitions for key fields

ContentEntityBase provides methods and functionality that revolves around entity keys (id, uuid, bundle, etc). And yet, ContentEntityBase does not provide a baseFieldDefinitions() method which would...

View Article


[PERFORMANCE] Simultaneous file uploads re-posting data

Problem/MotivationIn Drupal, all uploads posting via Ajax ($.ajaxSubmit). $.ajaxSubmit is posting FULL FORM DATA all time. Therefore when you uploading files simultaneously, the seconds and later...

View Article


d6_book can fail with a SQL integrity constraint violation

Problem/MotivationIf you run drush migrate-import d6_book --update it'll work just fine. But if you run it again, it'll fail with the below error for each...

View Article

Image may be NSFW.
Clik here to view.

UI text around "install" and "enable" when you...

Problem/MotivationIn Drupal 8.x, the UI text you see if you use the UI to download and ultimately turn on a module from drupal.org is very confusing and inconsistent. We ran into this when trying to...

View Article

How to make hook_search_info() titles translatable needs docs

Original reportThe implementation of hook_search_info in the node module does not permit to translate title.(see discussion on comments 1-4)Novice taskWe need to document, in the hook_search_info()...

View Article


Stop excluding local ID and revision fields from HAL output

Problem/MotivationWhen retrieving an entity in json format (e.g., /node/1?_format=json), all entity fields that the user has permission to view are returned, including the local ID (nid for node...

View Article

Image may be NSFW.
Clik here to view.

Boolean field with 'Use field label instead of the "On value"...

Problem/Motivation1. Create a FieldAPI field on an entity, and select the option "Use field label instead of the "On value" as label" 2. Create a view of this entity type 3. Add the boolean field as a...

View Article

Weight delta should be increased ?!

The delta should be increased when you need to order more than 20 fields, -10 -> 10 isn't enough.I propose to have a delta of 30 for ordering 60 fields.

View Article


More info needed in hook_views_data docs/sample body

There is a bunch of information about how to do table joins in the Advanced Help for Views 7, topic "api-tables.html", which is not in hook_views_data() for Drupal 8.This is fairly essential...

View Article


Image may be NSFW.
Clik here to view.

Module install form has two "install" buttons that do different things

Problem/MotivationThe module install form (admin/modules) has two buttons that do different things:Install new module downloads and installs a moduleInstall installs the modules that were selected on...

View Article

Make core aware of Nginx and PHP-FPM to avoid confusing alerts

Drupal should be made aware that Nginx with PHP-FPM also allows to use upload progress when configured properly, and related warnings and associated logic needs to be updated, as proposed in the patch...

View Article

Image may be NSFW.
Clik here to view.

"Delete" should not be the default action on /admin/content

Problem/MotivationThe default action on /admin/content is "Delete selected content". It's really easy to push "Apply" button by mistake, thinking it will apply the filter, because of the button title,...

View Article

Image style creation issue for SVG file type image

Drupal image file fields supports the SVG file types but it breaks when image style try to create a derivate image. In order to fix this issue we altered the page callback of image_style_deliver()...

View Article


Replace deprecated usage of entity_create('contact_form') with a...

Follow-up to #2490966: [Meta] Replace deprecated usage of entity_create with a direct call to the entity type classProblem/MotivationAccording to #2346261: Deprecate entity_create() in favor of a...

View Article

Entity type labels lack plurality, cannot generate UI text based on label if...

In #1830822: Split the Views UI listing into two tables for enabled and disabled, we needed to use the plural form of the "View" config entity, that is, "Views".Ideally we could use...

View Article


Internationalization topic refers to format_plural() function that does not...

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Language%...The documentation on this page refers to a global "formatPlural" function. However, there is no global formatPlural...

View Article

Add an explode/separator process plugin

Problem/MotivationDrupal provides a concat process plugin, that can transform multiple source values into a single value field, using the implode() function. It would be extremely useful to have...

View Article


Internal Page Cache ignore Cache tags?

HiMy question: Do I have to clear the entire page cache for "updating" a part of the Internal Page Cache?i have this module installed:Internal Page CacheInternal Dynamic Page Cachethen i have this...

View Article

Taxonomy term name as contextual filter for view

Is this not possible as it was in Drupal 7 to convert taxonomy terms in the URL to their ID? See this post on Stackexchange: http://drupal.stackexchange.com/questions/174251/taxonomy-term-name-as-c...I...

View Article

Add functionality to automatically remove Content and Field Mappings

At the moment RDF module does not support automated deletion of stored mappings for Content Types and Fields. This would result in inconsistency once the users edit or delete Content Types and fields...

View Article
Browsing all 293396 articles
Browse latest View live


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