You are here

paragraphs_pack_content.install in Paragraphs pack 7

Install, update and uninstall functions for the paragraphs_pack_content module.

File

modules/paragraphs_pack_content/paragraphs_pack_content.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the paragraphs_pack_content module.
 */

/**
 * Implements hook_install().
 */
function paragraphs_pack_content_install() {
  paragraphs_pack_create_paragraph(PP_BUNDLE_CONTENT, 'Content');
  paragraphs_pack_add_field_title(PP_BUNDLE_CONTENT, 'Title');
  paragraphs_pack_add_field_body(PP_BUNDLE_CONTENT, 'Content');
}

Functions