You are here

function yoast_seo_install in Real-time SEO for Drupal 8

Same name and namespace in other branches
  1. 7 yoast_seo.install \yoast_seo_install()

Implements hook_install().

Insert the YoastSeo field in the content view.

File

./yoast_seo.install, line 13
Install, update, and uninstall functions for the Yoast SEO for Drupal module.

Code

function yoast_seo_install() {

  // Enable Yoast SEO for all fields.
  _yoast_seo_attach_to_all_content_types();

  // Add status overview to content view.
  _yoast_seo_add_status_to_content_view();
}