18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11 ■ <strong>Drupal</strong> Modules<br />

<strong>Drupal</strong>’s module administration page is divided into sections, with each section focused on a particular<br />

module or group of modules. The modules that are delivered as part of <strong>Drupal</strong> core can be found in the Core<br />

section of the listing. For demonstration purposes, we are going to enable a core module that, by default,<br />

is not enabled by the <strong>Drupal</strong> install process: the Aggregator module. As you can see from Figure 11-8, the<br />

Aggregator module is not checked as enabled (the check box to the left of the module name indicates<br />

whether a module is enabled or not). To enable the module, check the box immediately to the left of the<br />

module name and scroll to the bottom of the page. Click the “Save configuration” button to enable the<br />

module so that it can be used on your new site.<br />

After clicking the Save configuration button, <strong>Drupal</strong> will then redisplay the module administration<br />

page with the “successful configuration” message at the top of the page. The Aggregator module is now<br />

ready for use.<br />

Upgrading a Module<br />

<strong>Drupal</strong> modules are often updated with fixes to bugs and new additional features. <strong>Drupal</strong> 8, fortunately,<br />

tells you when a new version of a module has been released, and provides a mechanism for automatically<br />

updating that module to the latest version. To view all of the available updates, simply click the Update tab at<br />

the top of the module administration page (see Figure 11-8), or click the Reports link in the secondary menu<br />

(under Manage) and click the “Available updates” link (see Figure 11-9).<br />

Figure 11-9. Reports page<br />

■■Note<br />

There may be cases where you don’t want to upgrade a module; for example, a case where an<br />

upgrade to one module breaks another related module. I suggest that before you perform an update, you review<br />

the forums on <strong>Drupal</strong>.org to check to see if anyone has reported problems.<br />

Uninstalling a Module<br />

There may be cases where you install a module and it’s just not what you thought it would be, or it causes<br />

problems on your site. On the module administration page you will find an Uninstall tab at the top of the<br />

page. Clicking that tab reveals a list of modules that have the capability to automatically uninstall themselves<br />

(see Figure 11-10). To uninstall a module check the box next to that module and click the Uninstall button at<br />

the bottom of the page.<br />

136

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!