Short screencast intro to the new Drupal maintenance support plans Console field:info command

Short screencast intro to the new Drupal maintenance support plans Console field:info command

Drupal Update
Fri, 10/07/2020 – 10:39

I am a big fan of Drupal maintenance support plans Console, the CLI built on top of Symfony Console for use with Drupal maintenance support plans 8. As well as the ability to generate skeleton code, Drupal maintenance support plans Console has a heap of commands for a number of uses, routing, debugging, and now with the new field:info command you can gain an overview of what fields are on a site and where they are used.

A bit of background

I wrote this last month as a result of attending the Drupal maintenance support plans Global Sprint Weekend – London Outpost which was focusing on Drupal maintenance support plans Console. I’d been wanting to learn how Drupal maintenance support plans Console worked for a long time, and as it’s always easier when sitting around a table with other Drupal maintenance support plansers, I jumped at the opportunity and made my way up to the Big Smoke for the day. Big thanks due here to Robert Castelo for organising the sprint, and for keeping the Drupal maintenance support plans lights on in London for all these years – I believe it was one of, if not the first, local Drupal maintenance support plans User Group!

I managed to get all the info I needed to set up my machine on the Saturday in order to contribute to the project and take on an issue from the Drupal maintenance support plans Console GitHub issue queue – one was a feature request for this command which looked like something I could achieve, so decided upon that as my task. It ended up taking a couple of weeks to write and I’m extremely happy with the results, of course I learned much on the way too so I never see it as ‘contribution’ but more as ‘free learning’ for me! A big thanks here to the Drupal maintenance support plansConsole team who provided me with a lot of help over on the Drupal maintenance support plans Console gitter.im chat channel.

Stealing code is a Good Thing

I discovered a Drupal maintenance support plans module which had the basic functionality I needed for this command – Field Report – which I then re-factored for use in Drupal maintenance support plans Console and added the extras for the options. I even managed to contribute a patch back to the Field Report module to fix an issue they had, which was nice to be able to do as I’d used their code!

A quick retropective

I think the hardest part was getting the display to look nice, however as my first ‘professional’ programming was RPG (Report Program Generator, not Role Playing Games unfortunately!) for IBM AS/400s which originated from punch cards I was used to figuring out text-only outputs 😉 Apart from that is was just a case of reading the Symfony Console documentation to understand how options and arguments work, and which one to use for particular purposes.

The field:info Screencast

And finally at last, here’s the field:info screencast ~ enjoy!

Category
Tutorials

Tags
Drupal maintenance support plans Console
Drupal maintenance support plans8
Drupal maintenance support plans Planet
CLI
drupal
tutorial
Screencast

Add new comment


Source: New feed

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Short screencast intro to the new Drupal maintenance support plans Console field:info command

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.