Newsfeeds

Sooper Drupal Themes: Drupal 8.8 is here! What changes does it bring?

Planet Drupal - 6 December 2019 - 1:47am
Drupal 8.8 is paving the way to the future

Drupal 9 is approaching fast. However, until Drupal 9 arrives, there is another major update that is coming soon. Drupal 8.8 was launched on the 4th of December. In this blog post, I am going to tell you what are the changes and quality of life improvements that you can expect from the next major Drupal update.

Drupal WYSIWYG will include will allow media embedding

This is a feature that was long awaited for Drupal. Media has been poorly handled by Drupal for a while now. Because of that, this feature was awaited for a decade already. However, with Drupal 8.8, this wish becomes a reality. The good news is that this feature will come with complete media management capabilities that make it easier to embed the media for content creators and site builders alike. Thanks to this new development we will also be able to integrate media embedding in a future release of our Glazed Builder visual page builder.

Claro, a new administration theme integrated into Drupal core

On top of these updates, Claro, a new administration theme will be integrated in the Drupal core. This theme will bring a new refreshed design to Drupal. This UI refreshment has been long requested by the Drupal community. However, in drupal 8.8, these requests are finally coming to fruition. Below, you will see a comparison between the old and the new improved UI of Drupal with screenshots taken from both of them.

In the first screenshot you can see the new page creation tab from the old Drupal UI.

.

In this screenshot, you can see the same page as in the screenshot above, however, with the new UI added on top of it. As you can see, now it has a white background with blue highlights. The fields appear to be  bigger than previously, further improving the clarity and the text readability. The blue highlight seems to use a darker blue than the one in the previous version of the UI. All in all, the changes are so drastic, however, the better color pallette choice and the boxy look bring out a more clean and modern look for Drupal 8.8.

JSON:API should become significantly faster

First, let’s start with what JSON:API is.JSON:API or JavaScript Object Notation is an encoding scheme that is designed to eliminate the need for an ad-hoc code in order for that code to be able to communicate with the servers that communicate in a defined way.

In the Drupal 8.8 update, JSON:API is thought to be able to create the work even faster than before. This was possible because of a couple of issues that were resolved:

  • The include paths are resolved for every resource in a resource collection, instead of once per unique resource type. 
  • ResourceTypeRepository computes ResourceType value objects on “every request”
  • Resource “entity” should use partial caching

These changes will make Drupal 8 a better platform for phone apps and other "headless" applications.

jQuery UI is going to be deprecated from Drupal core

jQuery UI will be deprecated in Drupal 8.8. This front-end library is used to render user experience components like dragging and dropping, sliders, selecting and sorting, etc. It was first added in 2009 to the Drupal core. However, it became unmaintained since 2017 and as a  consequence was listed as an Emeritus project, which means that the people who were maintaining the projects are reaching or are at the end-of-life of the project. Even though jQuery UI will become deprecated in Drupal 8.8, it will be completely removed from Drupal with the release of Drupal 9. On top of that, because of the end of life, jQuery Ui will not work with future jQuery versions. With this in mind, it seems that Drupal core is in the middle of the process of switching to JavaScript solutions. Also, it seems that Modules and themes that are depending on jQuery UI will have to have it as a dependency and also to manage their libraries.

Path aliases are going to be converted to revisionable entities

Custom URL aliases will now be provided by a new revisionable content entity type in Drupal 8.8. However, the path.alias_storage has been kept for backward compatibility purposes, although its hook has been deprecated. You can check out the next link in order to be fully prepared to upgrade your code for Drupal 9.

Configuration Management improvements

Drupal Configuration Initiative 2.0 started being implemented from the release of Drupal 8.6. However, it started being implemented more and more with new releases of Drupal. Now, with the release of the new Drupal 8.8, the configuration management will see new improvements. One of the changes is that the Sync directory is defined in $settings['config_sync_directory'] in settings.php.
On top of that, the ability to support multiple configuration directions is $config_directories is not deprecated. Furthermore, if you happen to have a custom or contributed code that relies on this ability you either need to move your setting either to $settings or another storage. To read more about this see the change record.

Full support of Composer to build Drupal projects

Composer has helped Drupal development become more in line with the PHP standards. The relationship between Composer and PHP had started to develop more with the release of Drupal 8. Now, Drupal 8.8 will come packed with more Composer plugins.

  • Drupal/core-composer-scaffold: This plugin will be replacing the drupal-composer/drupal-scaffold plugin. The new plugin will be in charge of automating the scaffolding of the Drupal core Composer in the right place. On top of that, this plugin will provide a couple of options for the setup approaches.
  • Drupal/core-vendor-hardening: The task of this plugin is to remove some of the unnecessary folders that are present in vendor directories such as tests or documentation, this process being important when the vendor folder is included in the docroot.
  • Drupal/recommended-project: This composer template will have a role in the generation of a Drupal project structure which follows the recommendations presented in Drupal 8.8, which states that the vendor folder should be outside of docroot.
  • Drupal/legacy-project: This Composer template will generate a Drupal project that will follow the old structure. However, using this will not be recommended for Drupal 8.8.0 and further.

These Composer related parts can be found in the new /composer folder from Drupal source core.

Drupal, better than ever!

Drupal 8.8 seems to bring out a new cluster of features and quality of life improvements that will surely make the life of the site builders and content creators easier. This release will is one important release that paves the way for the arrival of Drupal 9. With that being said, congratulations to all the people that have contributed to the release of Drupal 8.8. Keep up the good work!

Categories: Drupal

View Entity Reference Field Formatter

New Drupal Modules - 5 December 2019 - 5:33pm

View Entity Reference Field Formatter

This (small) Module allows you to use a view to display an entity or entities for an entity_reference field display.

Categories: Drupal

Tag1 Consulting: Enterprise, LDAP, and Drupal's Group Module

Planet Drupal - 5 December 2019 - 4:17pm
We are excited to share details about our recent integration with the Group module . By default, Group module stores group memberships in the Drupal database. For a recent project, our Client required that group memberships are canonically stored in their existing LDAP directory. That way, memberships may be re-used to control access to 3rd party applications like real-time chat, file sharing, etc. Group module provides a simple service, GroupMembershipLoader , that is responsible for loading all memberships for a group or all memberships for a user. We swapped that service for a custom one that queries LDAP instead of querying database. Further, we added a simple caching layer so that a user’s group memberships are cached in that user’s session. // Cache a user’s own groups in their session for fast retrieval. $duration = \Drupal::getContainer()->getParameter('ldap_directory.dgids_duration'); $this->getPrivateTempStore($account, $duration)->get('ldap_directory')->set('dgids', $dgids); A group membership not only relates a user to a group but also assigns a role to that membership. In our implementation, a member can be a Reader, Contributor, or a Group Admin. We decided to model that by creating a DirectoryGroup content entity, and configuring Group module such that DirectoryGroups can become group content. So, when a new Group is... Read more moshe Thu, 12/05/2019 - 16:17
Categories: Drupal

Social Auth Mixer

New Drupal Modules - 5 December 2019 - 2:42pm

Social Auth Mixer allows users to register and login to your Drupal site with their Mixer account. The module allows websites to request any scopes, so any tasks requiring authentication with Mixer services can be performed. This module is based on Social Auth and Social API projects.

This module adds a path user/login/mixer which redirects the user to Mixer Accounts for authentication.

Categories: Drupal

Review aggregator site GameRankings is shutting down

Social/Online Games - Gamasutra - 5 December 2019 - 2:24pm

The 20-year-old review aggregator site GameRankings will cease to be on December 9, and instead redirect to sister site Metacritic following that shutdown. ...

Categories: Game Theory & Design

Minecraft beats Fortnite and GTA as YouTube's most-watched game of 2019

Social/Online Games - Gamasutra - 5 December 2019 - 12:37pm

Sandwiched between ASMR and K-pop clips, YouTube†™s 2019 Rewind roundup shares a peek at the most popular video games featured in videos on the platform. ...

Categories: Game Theory & Design

Video: How Eve Online addressed exploit abuse with customer care

Social/Online Games - Gamasutra - 5 December 2019 - 12:35pm

In this 2018 GDC talk, CCP Games' David Einarsson discusses the handling of an impactful exploit in EVE Online and the many challenges entailed therein. ...

Categories: Game Theory & Design

CD Projekt Red ending Gwent console support to focus on PC and mobile

Social/Online Games - Gamasutra - 5 December 2019 - 10:06am

Console support is on the chopping block, partially for fear CD Projekt wouldn†™t be able to tackle feature parity on mobile, PC, and console with so many different versions of Gwent in the mix. ...

Categories: Game Theory & Design

Latest Rocket League update replaces loot boxes with an item store

Social/Online Games - Gamasutra - 5 December 2019 - 9:06am

The latest update to hit Rocket League wipes out the game†™s loot box system entirely, replacing it with a premium storefront and a new blueprint system. ...

Categories: Game Theory & Design

PixelCast 14, Comics, Live Games, and Personal Challenges... - by Jeremy Alessi

Gamasutra.com Blogs - 5 December 2019 - 8:14am
In episode 14, Jeremy dives into the Swap Fire Comic, specifically with regard to the PixelFest ad that will appear in it. He also talks about solving a Rubik's Cube, beating Street Fighter II without losing, and the essence of personal challenge.
Categories: Game Theory & Design

Video: Outer Wilds — Is it my Genre? Trailer Analysis - by M. Joshua Cauller

Gamasutra.com Blogs - 5 December 2019 - 7:12am
Outer Wilds' precise blend of genre seems impossible to talk about without spoilers, but it can be done: in this trailer analysis video (with transcript)!
Categories: Game Theory & Design

Why Good Isn't Good Enough to Be Successful - by Josh Bycer

Gamasutra.com Blogs - 5 December 2019 - 7:11am
2019 has been another banner year for amazing games being released, but it also shows how hard it is for games to stand out, and why just having a good game isn't enough anymore.
Categories: Game Theory & Design

How to Attract New Followers to Your Twitch Channel - by Jori Hamilton

Gamasutra.com Blogs - 5 December 2019 - 7:10am
For the past few years, the streaming website Twitch has been the go-to site for inspiring gamers to show off their gaming prowess and build a following. Here's how you can go about building a following of your own.
Categories: Game Theory & Design

My first game developement... a long history - by youenn thirion

Gamasutra.com Blogs - 5 December 2019 - 7:09am
The story of my first video game. A post with many questions : Why ? How ? When ? What ?
Categories: Game Theory & Design

Domain Language Negotiation

New Drupal Modules - 5 December 2019 - 6:03am

Overview

Creates a language negotiation based on a domains language settings.

Installation

Install via composer:
composer require "drupal/domain_language_negotiation:^1.0@alpha"

Dependencies

- Your site uses Domain Access module (domain)
- Your site uses Domain Language Access module (domain_language)

Categories: Drupal

Prevent Node Delete

New Drupal Modules - 5 December 2019 - 1:41am

Prevent Node Delete module is built to prevent & restrict the Node deletion when the Node is associated with nodes or used in entities using entity reference.

Features

Categories: Drupal

Agiledrop.com Blog: Top Drupal blog posts from November 2019

Planet Drupal - 5 December 2019 - 1:33am

For the final time in 2019, we’re back with our overview of the top Drupal blog posts from the previous month. It’s been a great year for Drupal, and we can’t wait for everything that 2020 will bring. So, let’s end this great year with some appropriately great posts!

READ MORE
Categories: Drupal

The RPGnet Interview: Tomas Härenstam, Alien RPG

RPGNet - 5 December 2019 - 12:00am
A discussion about the Alien franchise and its newest RPG.
Categories: Game Theory & Design

Hiberus tools

New Drupal Modules - 4 December 2019 - 11:29pm
Categories: Drupal

Arithmetic Operation

New Drupal Modules - 4 December 2019 - 1:49pm

The Arithmetic Operation module adds a new field type containing the two text fields wherein the operands can be entered and the total value calculated based on the inputs and arithmetic operators (+ - * /) selected and operators can be configurable on field settings along with magnitude field.

Installation
  1. Download and extract this module to the modules/contrib directory or download using composer.
  2. Enable the module.
Usage
  1. Create a content type or paragraph type and add the field > Arithmetic Operation field to it.
Categories: Drupal

Pages

Subscribe to As If Productions aggregator