Install Drupal using Composer on shared hosting. 1GB RAM is not enough! Crazy.

I noticed that installing (or updating) the latest version of Drupal on PHP 7.3 with this command

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction

requires almost 1.2 GB of RAM!

Reinventing the annual corporate report

To create the breakthrough and innovate with a new format of annual report, more immediate, more accessible and cross channel, VOID agency proposed to Pernod Ricard to realize the first annual digital report 100% video in addition to the paper document. During 15 minutes of film sequenced in 6 chapters, the world co-leader of wines and spirits tells us his "mindset" through the faces of his African collaborators under the eye of the photographer Omar Victor Diop.

Sectors: 
Retail and Distribution

Eagle Air. Booking platform for domestic flights and tourist trips.

Eagle Air provides customers with services for transport, tourism and emergency response. The airline was founded in 1970 and is still family operated. 

Sectors: 
Travel and Hospitality

Dependency Injection

Hi,

I have been given a code in which I have been asked to use dependency injection.  The code goes as the following:

class SourceNode extends BlockBase {

/**
* {@inheritdoc}
*/
public function build() {
$build = [];
$sources = '';

How to disable or add permission to an existing route

Hi,

I'm using Drupal 8.7.5.

I want to disable or add permission (only administrator can access) to an existing route , path is /node/add/article  because I've built a new form for creating article, I want editors use the new form instead of the default form at url /node/add/article .

How can I do this?

Thank you

How to create a custom token for the Message module ?

I have a site with Drupal, as well as the modules "Message" and "Token".

I created a custom module based on the module "Message example".

I created for entities, a display mode called message_activity_stream.

I created a token to display the rendered entity of the nodes and it works.

Now I want to create a custom token to display the rendered entity of the author of the message.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x