Monthly Archives: June 2018

Adding Fields to Inline Entity Form Table

Inline Entity Form is a useful module for reference entities and being able to edit them in place. Here’s what the edit form looks like out of the box for an unlimited value entity reference: Often it’s helpful to provide additional information to your

Tagged with: , ,
Posted in Development

Using the Messenger Service Instead of drupal_set_message in Drupal 8

As you may know, drupal_set_message()  is deprecated in Drupal 8.5.0. Here’s a quick example of using dependency injection to use the new Messenger service: mymodule.services.yml

src/MymoduleAuthentication.php

 

Tagged with: ,
Posted in Development

Automatically Put Files Into a YYYY/MM Directory Structure

 

Tagged with:
Posted in Development, Tech Tips