Installing the Article content type¶
- Run
composer require -W drupal/acquia_cms_article
to install the module in your application codebase. - Do one of the following to enable the module:
- Go to the Extend menu of the administrative panel, and search for
acquia_cms_article
. - Run
drush en acquia_cms_article -y
.
Included fields¶
The Article content includes the following fields:
Field | Description |
---|
Title | The title of the article. |
Summary | A brief description or summary of the article. By default, this field is hidden. Click Edit summary to view this field. |
Body | The content of the article. |
Text format | The text format. You can select Filtered HTML or Site Studio from the drop-down menu. |
Language | The language of the article. |
Display Author | The author of the article. This requires the Person content type. |
Media | One of the following media types: - Media: The media item. Click Add Media to upload an image. Allowed media types include Audio, Document, Image, and Video.
- Image: The main image associated with the article. This appears at the top of the page or as a thumbnail when the page appears within a list. Click Add Media to upload an image.
|
Taxonomy | One of the following taxonomy types: - Categories: The categories that you select from the dropdown menu.
- Tags: The tags.
- Article Type: The article type that you select from the dropdown menu.
|
Save as | The state in which you want to save the details of the article. You can save the details of the article as Draft, In Review, or Published. |
Creating an Article content¶
- Sign in to Drupal Starter Kits.
- In the Drupal Starter Kits administrative interface, click Manage > Content > Add Content > Article.
- Enter an appropriate value in each field.
- Click Save.
- Verify the changes on your site.