function fillpdf_update_8102 in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 fillpdf.install \fillpdf_update_8102()
Install FillPdfFileContext storage.
File
- ./
fillpdf.install, line 36 - Install functions for FillPDF.
Code
function fillpdf_update_8102() {
$edum = \Drupal::entityDefinitionUpdateManager();
$entity_manager = \Drupal::entityTypeManager();
$fillpdf_file_context = $entity_manager
->getDefinition('fillpdf_file_context');
$edum
->installEntityType($fillpdf_file_context);
}