Quantcast
Browsing all 294759 articles
Browse latest View live

D8: Entity Reference action causes error

I get "Drupal\Core\Entity\Exception\UndefinedLinkTemplateException" on adding an Entity Reference of type Action such as "Make content sticky", and then saving gives an Error.In a fresh install, in...

View Article


Test that it is possible to use path prefixes in combination with language...

In Drupal 7 it is not possible to provide a custom URL prefix in addition to a language prefix. In D8 this has been fixed as a byproduct of work done in #1888424: Make Drupal's URL generation logic...

View Article


Mark unicode.inc functions as deprecated

Problem/MotivationMost functions in unicode.inc already have a proper replacement so let's mark those functions as deprecated.Proposed resolutionRemaining tasksUser interface changesAPI changes

View Article

Remove usage of form_set_cache().

Part of #2205673: [meta] Remove all @deprecated functions marked "remove before 8.0"

View Article

Image may be NSFW.
Clik here to view.

Views doesn't bubble up rendered entities' cache tags

Updated: Comment #0Problem/MotivationIf we want to improve the page cache by removing the "content" cache tag (see #2124957: Replace 'content' cache tag with 'rendered' and use it sparingly), then we...

View Article


PDOException loses its message when querying with invalid UTF-8 due to...

I am dealing with a module (CMIS) that is trying to insert content into the database with the wrong charset. I was getting the following two errors:    Warning: htmlspecialchars(): Invalid multibyte...

View Article

Disabling or uninstalling a node-type module (e.g. Forum), or removing a node...

Repeatable: alwaysSteps to repeat:Install fresh Drupal 7 siteEnable Forum.moduleDisable Forum.moduleGo to Reports->Field list. These notices are listed:Notice: Undefined index: comment_node_forum in...

View Article

Enable Rest Resources to get Bundle and Views modes

Enable Rest Resources to get list of bundles by entity and get view modes by entity/bundleThese rest resources require permission validation after authentication for confirm user can administer content...

View Article


If item is hidden in _menu_tree_check_access() skip it right away.

Drupal will load unnecessary entities (non-node) if a menu link to them is in the main menu. The reason I say it's loading them unnecessarily has to do with the fact that if a menu item is disabled it...

View Article


Deprecate/rename drupal_add_feed(), drupal_add_html_head(),...

Problem/Motivation$build['#attached']['drupal_add_feed'] This is a) a confusing API and b) we don't want to keep drupal_add_feed forever.Proposed resolutionRename all drupal_add_* methods to use an...

View Article

Move common code of Sequence/Mapping elements one level up to ArrayElement,...

The class doxygen is useless. Is it a list of items? Can the keys be strings? What are some examples? When should I use something else for an arraygetItemDefinition contains a fatal error. No,...

View Article

drupal_get_bootstrap_phase() is broken

I've seen this once before and thought it was just a bad HEAD install, but it just came up again on #597236: Add entity caching to core.This shows up on every request when loading a node with 50...

View Article

Update to Guzzle 5

I've been working on, what should be for most users, an almost entirely backwards compatible update to Guzzle which adds the following enhancements:1. Asynchronous future responses and makes it easier...

View Article


Upgrade to jQuery Once 2.x

jQuery Once 2.x comes with:Performance improvements due to its change from manipulating element classes to using .data()Its encouragement of using best practice jQuery chainingA new .findOnce()...

View Article

Remove module_uninstall() from module.inc

Meta issue: #2205673: [meta] Remove all @deprecated functions marked "remove before 8.0"Only the function exists, it's usage is removed[ashish@xeon:/var/www/html/d8]$grep module_uninstall -r...

View Article


ConfigurableEntityReferenceItem should not mess with the field schema

Updated: Comment #0Problem/MotivationEntity Reference module uses hook_field_info_alter() to change the default class of entity reference items from EntityReferenceItem to...

View Article

Introduce a TraversableTypedDataInterface and use that for typehinting...

Problem/MotivationConfiguration files must be either lists or maps, i.e. a configuration file that contains just a scalar value is invalid. In particular, the configuration schema of config objects is...

View Article


Add functionality to impersonate a user

Problem/MotivationCurrently Drupal has no unified API that allows safe user impersonation in code. This functionality is often needed by core and contrib and each module implements it in different ways...

View Article

Remove the UI for installing/updating modules from update module

We added this feature in Drupal 7 but it has fallen into disrepair.The main reasons for this as I see it:1. Core developers (and contrib developers too mostly) never use it.2. It's not up front in the...

View Article

Move views_ajax_form_wrapper() to ViewsFormBase

Problem/MotivationThe views_ajax_form_wrapper() function isn't well documented, and should be part of a class as it's only used in Views forms.Proposed resolutionMove this to ViewsFormBase, with better...

View Article
Browsing all 294759 articles
Browse latest View live


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