You are here

function paragraphs_pack_content_install in Paragraphs pack 7

Implements hook_install().

File

modules/paragraphs_pack_content/paragraphs_pack_content.install, line 11
Install, update and uninstall functions for the paragraphs_pack_content module.

Code

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');
}