ADCI Solutions: OOP in Drupal 8 and how to use it to create a custom module

Planet Drupal - 29 September 2017 - 2:44am

Drupal newbie? Or maybe you are a mature developer that’s in charge of training the youth? Then keep on reading!

The following article was written based on the experience of our junior developer Sophia. In a short term she had to learn the Drupal 8 specifics and be able to write custom modules in Drupal 8.

We’re going to examine the main OOP features that were implemented in Drupal 8 and create a module. Code samples are included.


Check this tutorial on writing a module in Drupal 8



Categories: Drupal

Commerce China Payments

New Drupal Modules - 29 September 2017 - 1:47am
Integrates with Alipay and WeChat Pay
Categories: Drupal

Promet Source: Picture Module: Building Responsive Images in Drupal 7

Planet Drupal - 28 September 2017 - 11:30pm
In 2017, 77% of Americans own a smartphone, a phenomenal increase from just 35% in 2011 (source: Pew Research Center Mobile Fact Sheet). And we are not just talking about a single screen size here! There are a multitude of screen sizes to consider from different versions of iPhones, android. And outside of smartphones, you probably want to consider iPads, tablets, desktops, tvs, to name a few.
Categories: Drupal

Drupal Modules: The One Percent: Drupal Modules: The One Percent — Linked Field (video tutorial)

Planet Drupal - 28 September 2017 - 8:17pm
Drupal Modules: The One Percent — Linked Field (video tutorial) NonProfit Thu, 09/28/2017 - 22:17 Episode 37

Here is where we seek to bring awareness to Drupal modules running on less than 1% of reporting sites. Today we'll consider Linked Field, a module which will allow you to easily wrap a link around another field.

Categories: Drupal

Bay Area Drupal Camp: Session Schedule Posted, Training Classes Open for Registration!

Planet Drupal - 28 September 2017 - 6:05pm
Session Schedule Posted, Training Classes Open for Registration! Anne Thu, 09/28/2017 - 6:05pm Sessions Lineup Now Posted!

Ready yourselves, fellow adventurers -- this year’s session and speaker lineup have been revealed! There will be sessions spanning the worlds of development, design, strategy, project management, technology communities and everything in between.

A hearty thank you to all the valiant souls who submitted over 187 session proposals, your contributions, year after year, are what make BADCamp excellent. And for those whose hearts still burn to speak, there will be BoF opportunities throughout the event.

Drupal Training Classes

Are you prepared to gain mastery of your Drupal Skills? BADCamp has two full days of Drupal Training offered from some of the most talented leaders in the Drupal community.

Join the masters on Wednesday and Thursday while they unfold the magic. This year BADCamp offers skills training in DevOps, theming, module development, content strategy, and much more!

BADCamp has historically provided a completely free training thanks to the overwhelming generosity of our sponsors. However, this year we must charge a nominal fee of $25 to cover operating expenses as we are short on sponsorship funding. We sincerely apologize for this short notice. We needed to find ways at the last minute to break even.

This was a really difficult decision for the BADCamp organizers to make.

If you can't afford the $25 or its super complicated to get funding, please reach out to the BADCamp organizers via the contact form and we will help! We have already had generous attendees offer to donate extra seats in the classes.

Sign up for the BADCamp 2017 newsletter to stay in touch (bottom of Homepage).

Do you think BADCamp is awesome?

BADCamp is 100% volunteer run and 100% funded by our sponsors and the support of our local community. Thank you for your support.

Would you have been willing to pay for your ticket?  If so, then you can give back to the camp by purchasing an individual sponsorship at the level most comfortable for you. As our thanks, we will be handing out some awesome BADCamp swag as our thanks.

We need your help!

BADCamp is 100% volunteer driven and we need your hands! We need stout hearts to volunteer and help set up, tear down, give directions and so much more!  If you are able to help us, please sign up on our Volunteer Form.


A BIG thanks to our sponsors, especially Acquia & Pantheon, who have committed and supported us. Without them, this magical event wouldn’t be possible. Interested in sponsoring BADCamp? Contact matt@badcamp.net or anne@badcamp.net

Drupal Planet
Categories: Drupal

Moshe Weitzman: Porting Commands to Drush 9

Planet Drupal - 28 September 2017 - 5:00pm

Drush 9 features a deep rewrite of our app, both user facing and internals. We created and open sourced AnnotatedCommand (example), OutputFormatters, and Config. We leveraged Symfony Console for our CLI fundamentals. For details on Drush9, see the video or slides from our Drupalcon Vienna presentation.

Categories: Drupal

Preferred Language Prompt

New Drupal Modules - 28 September 2017 - 3:58pm

Preferred Language Prompt (PLP) provides a way to funnel users from content in a non-preferred language to the translation of that content that matches their preferred language.


This module only works with the URL Language negotiation method. Within that, it should work with both path prefix and subdomain.

Categories: Drupal

Jacob Rockowitz: What "About" the Webform module and the Drupal Community?

Planet Drupal - 28 September 2017 - 2:32pm

For the past year, I’ve been experimenting with how to integrate content within the user interface of the Webform module with a goal of improving the overall user experience. These experiments include adding inline videos, help documentation, a "How can we help you?" menu, and promotions. As I work towards a stable release, it’s time to document the lessons that I’ve learned from these experiments and decide on a final approach.

The Webform module makes it easy to build feature-rich, powerful, and flexible forms. Within this user interface, I’m aiming to provide users with user experience that helps them understand the Webform module and the Drupal community.

Providing help and documentation is a requirement for all software, including Open Source. The open source nature of Drupal led me to have three primary requirements:

  • Make users feel comfortable and supported when using the Webform module.
  • Promote the Drupal community to new and existing members. 
  • Raise awareness of my work. 

Making users comfortable

The most immediate way to make someone comfortable is to start a conversation - to talk to them, to ask questions and to listen. Early on, as part of the Webform modules development, I started producing video tutorials and demos to provide a show-n-tell experience. At the end of more recent videos, I promote myself using the question, "How can I help you?".

Overall, I’m happy with how the videos have been received by the Drupal community and I think this feature is going to remain AS-IS. Once the Webform module has a release candidate, I’m going to redo all the screencasts and apply some of...Read More

Categories: Drupal

Views Condition

New Drupal Modules - 28 September 2017 - 2:09pm

This provides a condition based on if the page is a view page. For example, you can use it to specify that the page title block should only show on a view page.

Similar modules
Categories: Drupal

MTech, LLC: Running custom migrations via a Web UI

Planet Drupal - 28 September 2017 - 12:01pm
Running custom migrations via a Web UI

The Migrate API is almost stable and the majority of its basic functions and ways that folks interface with it are are to see the state of a migration, execute (import) a migration, or revert (rollback) a migration. However, until now, you had to all this via a command line interface (Drush or Drupal Console). The community has been working hard to get all these functions to run through a web user interface (UI).

Here we'll discuss some of the various options for running a migration via a web UI. There are several options that we are aware in various levels of stability.

Edys Meza Thu, 09/28/2017 - 13:01
Categories: Drupal


New Drupal Modules - 28 September 2017 - 11:36am

The official Drupal plugin,built by raychat.

Chat with visitors to your website in real-time , make them loyal customer .

Raychat is a free customer messaging platform . Chat with your customers and make them a loyal customer. With raychat you can sell and support as a team. Look what your visitors are writing in real-time, where are they from and it gives you analytics from users behavior on your website, allowing you to respond faster than light.

Categories: Drupal

Nextide Blog: Maestro D8 Concepts Part 3: Logical Loopbacks & Regeneration

Planet Drupal - 28 September 2017 - 11:04am
Loopbacks and Regeneration

Since 2003, Maestro had the concept of "Regeneration".  Regeneration for Maestro on Drupal 7 was a rather nebulous concept if you didn't understand the complexities that exist within the original engine.  Most administrators would simply check the regeneration option to "on" and the option to "recreate all in production tasks" and never worry about what it actually meant.  Simply put, as a human reading a workflow diagram, we can understand when a logic condition causes a loop-back over already executed tasks. However, for a machine to detect when we're looping-back over already executed tasks produces a set of logical issues that are not easily overcome.

Categories: Drupal

CiviCRM Date Tokens

New Drupal Modules - 28 September 2017 - 10:04am

This module provides an enhancement to the CiviCRM module.

When creating emails within CiviCRM, there are "tokens" to replace content in the email with personalized values relative to the recipient (e.g. something like "[first_name]" will be replaced with "Martin"). This module adds tokens to represent today's date.

Categories: Drupal


New Drupal Modules - 28 September 2017 - 10:03am

This module allows a Drupal site to be used to maintain an inventory of open-source software, and outputs that data according to the schema required by code.gov. The output is available at /code.json on the Drupal site itself.

Categories: Drupal

Outdated Translation

New Drupal Modules - 28 September 2017 - 9:59am

This module enhance cores 'outdated translation' feature;

  • Choose if you want to mark a single translation, all translations, or translations using a specific language as source, as outdated
  • Confirmation message before marking several translations as outdated
  • User permissions to manage who can mark translations as outdated
Categories: Drupal

Mediacurrent: A Brief History of Google’s V8 Javascript Engine

Planet Drupal - 28 September 2017 - 9:59am

Javascript has a reputation in developer circles as a terrible language. It’s classless, loosely typed, and plagued by cross browser issues. Douglas Crockford, author of JavaScript: The Good Parts, said “JavaScript contains some of the best ideas ever put into a programming language and it contains some of the worst ideas ever put into a programming language.” It was created in just 10 days in 1995, and not standardized by ECMA until almost 3 years later. Microsoft initially decided not to implement the new standards, almost putting an end to the language in its infancy.

Categories: Drupal

Paragraphs Title

New Drupal Modules - 28 September 2017 - 8:17am

Simple and effective paragraph type that allows the current page title to be inserted into a paragraphs field.

Categories: Drupal

WYSIWYG Filter Extend

New Drupal Modules - 28 September 2017 - 7:21am

This module provides extended functionality for the wysiwyg_filter module. Specifically, it overwrites the blacklist such that there is the option to allow additional tags such as <button>, <embed>, and <iframe>. This is useful in many cases such as embedding youtube videos into content.

This module was developed thanks to PeaceWorks Technology Solutions.

Categories: Drupal


New Drupal Modules - 28 September 2017 - 7:14am

Stencil provides basic support and an API for using Stencil web components with Drupal.

What is Stencil?

(Copied from their homepage)

"Stencil is a tool for building modern Web Components

Stencil combines some of the best features from traditional frameworks, but outputs 100% standards-compliant Custom Elements, part of the Web Component spec.

Categories: Drupal

Drop Guard: Automatic Drupal Updates - WTF or FTW?

Planet Drupal - 28 September 2017 - 1:30am
Automatic Drupal Updates - WTF or FTW?

Automatic updates have been discusses since years already. The pro's and con's of letting Drupal update itself are discussed in different Drupal.org issues queues. It was not a big surprise that Dries mentioned automatic Drupal core updates as part of the strategic roadmap of Drupal in his Driesnote at DrupalCon Vienna 2017.

Drupalcon Drupal Drupal Community Drupal Planet Automation Events Driesnote
Categories: Drupal


Subscribe to As If Productions aggregator - Drupal