Drush
TopicDrush is a command line interface that enables you to interact with your Drupal site without clicking around the graphical user interface (GUI).
Blocks
TopicA block is a reusable widget that is placed inside regions (layout containers) of your theme. Blocks can be used by site administrators on the Block layout admin page or provided by a module using the Plugin API.
Content Modeling
TopicContent modeling consists of identifying and constructing the different building blocks of data that compose the information on your site.
Layouts
TopicA layout can describe how various components are arranged on various levels—from an entire page from the header to the footer, to just the “middle” where the dynamic content goes, to individual components. It can apply to templates for managed content or one-off designs for landing pages.
Content Types
TopicA content type is a subtype of the [content entity](link to Entity topic). When a content creator goes to add new content to the site, they are presented with a list of content types to choose from to get the appropriate form to fill out.
Comments
TopicComments are a content entity type that allows users to leave commentary associated with a specific piece of content.
Cron
TopicTo ensure that your site and its modules continue to function correctly, a set of administrative operations should be performed periodically. These operations are referred to as cron tasks. Examples of cron tasks are: checking for module and theme updates, indexing content for search, or cleaning up temporary files.
Menus
TopicA site’s main navigation elements, whether they be in the header, footer, or sidebar, are composed of links built using Drupal's menu system. Drupal allows site administrators to build menus while also allowing module developers to add and alter menus in code.
Drush is the command line shell and Unix scripting interface for Drupal. The most common way to install Drush is to install it on a per-project basis using Composer. We'll walk through the steps to do that, as well as how to make it possible to execute Drush commands without having to specify a full path to the executable every time.
In this tutorial we'll:
- Install Drush
- Verify it worked
- Look at options for adding Drush to your
$PATH
By the end of this tutorial, you should be able to install Drush and verify that it is working.