Tagged Drupal Module Development

How to Streamline Update Hooks Using the Batch API

When maintaining a Drupal 8 site in production, it’s often necessary to make changes within the site’s database, specifically when it comes to modifying settings or data that is not handled by Drupal’s YAML file-based configuration management API. Some common examples of settings or data not handled by the configuration management API include the following:

Hook42 Team
Open laptop in coffee shop with Batch API Updates and Drupal 8 logo on screen

Autodesk

Responsive view of autodesk page templates on desktop, laptop and tablet screens

Autodesk is a Fortune 500 company based in California that creates software products for a number of industries. One of their most famous products is AutoCAD which is a computer-aided design package for architects and other design professionals. 


Key Features

Multiple Languages, Translation Workflow, Document Management, Content Editor Tools, Web Services Integration, Faceted Search, Drupal 7, Drupal 8

Summary of Work

Hook 42 has worked with Autodesk over many years for both Drupal 7 and Drupal 8 consulting and development. For Drupal 7, we audited the multilingual Drupal configuration and custom code for the Autodesk Knowledge Network and made recommendations for improvements. We were the "multilingual hotline" for Autodesk's developers to answer questions about configuring and customizing their multilingual features. We provided multilingual training at BADCamp which was attended by the Autodesk development team to jumpstart their project. We wrote a custom module to work around issues with the Entity Translation module to support Autodesk's multilingual content workflow.

For Drupal 8, we have been providing architectural guidance and development for a new site including hosting considerations, development workflow, site building best practices, module development, and front end theming. This Drupal 8 site was launched in October 2017. We continue to provide development services for both Drupal 7 and Drupal 8 websites.

landing page preview of autodesk knowledge community portal

Multilingual Drupal Audit

We audited the multilingual configuration and custom code for the Autodesk Knowledge Network and made recommendations for improvements.

Multilingual Drupal Consulting

We were the "multilingual hotline" for Autodesk's developers for their Drupal 7 website to answer questions about configuring and customizing their multilingual features.

Drupal Training

We provided Drupal 7 multilingual training at BADCamp which was attended by the Autodesk development team to jumpstart their project.

Drupal Module Development

We wrote custom module code to work around issues with the Entity Translation module to support Autodesk's multilingual content workflow.

Staff Augmentation

We provided staff augmentation for multiple web projects for Drupal 7 and Drupal 8. Development included back-end and front-end programming including ReactJS.

Consuming JSON APIs in Drupal 8

Nowadays everyone has an API and it's fairly common to want a website you're working on to fetch data from a 3rd party API. That's because pulling 3rd party data into your website can not only enriches your website's content, but doing so can prevent the need to duplicate commonly needed data.

API provided data could include displaying weather information, going through drupal.org projects, looking through census results, or even displaying Magic the Gathering card data. In fact, every WordPress site comes with an active JSON API out of the box.

There really is an API for almost anything. It's no surprise that you'll eventually want to consume some random API while developing a Drupal website. But enough of the sales pitch, let's get started consuming JSON APIs.

Photo of kittens looking at JSON and Drupal logos

Hook 42 is off to the BADCamp Circus!

The BADCamp Circus is coming to town for 4 whole days! From cities near and far, Drupalists are converging in Berkeley very soon for this year’s circus-themed BADCamp!

Join Hook 42 under the bigtop for 3 unique sessions. We’ll be sharing our thoughts on redesigning the Stanford Cantor Arts Center website, accessibility tooling, and creating custom Drupal 8 modules. Of course, the whole team will be there too, collaborating with new and old friends alike.

Join us as we flex our Drupal muscles, perform daring acts of development, and add to the general merriment of the Drupal community. BADCamp 2018 is sure to not disappoint!

Hook42 Team
Hook 42 and BAD Camp logos

GovCon 2018 Takeways

We recently returned from Drupal GovCon and have some standout items we want to share. Overall, the experience was a lot of fun. It was exciting to get to watch Adam give the keynote on how to make an impact in the community. At Hook 42 we love giving back to the community, and it was a great reminder of how everyone who wants to give back, can contribute.

Hook42 Team
Drupal GovCon logo

Writing My First Drupal 8 Module

While it’s amazing how easy it is for an experienced Drupal 7 site builder to get around using the Drupal 8 UI, the same is not true for writing code for D8. As has been made clear for years now, Drupal 8 is very different inside. Many of the hooks we know and love have gone away, most procedural code has been replaced with interfaces, classes, and methods, and there are scads of YAML (Yet Another Markup Language, .yml file extension) files that wire everything together. How does a developer get her/his footing in this slippery new landscape?

Drupal 8 logo