As per #2954868

There is no need to have Modal Block entity. This needs to be removed from the folder.

Comments

neeraprajapati created an issue. See original summary.

chishah92’s picture

Assigned: Unassigned » chishah92
Status: Active » Needs work

Thanks for creating the issue, will add a patch to clean the code

chishah92’s picture

chishah92’s picture

Status: Needs work » Needs review

Patch which removes all unnecessary code according to new workflow

chishah92’s picture

StatusFileSize
new6.02 KB
nishantkumar155’s picture

Status: Needs review » Needs work
StatusFileSize
new310.17 KB

@chishah92 patch work perfectly but , it would be great if you remove below code from .install file

 \Drupal::configFactory()
    ->getEditable('block_content.type.modal_block')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('core.entity_form_display.block_content.modal_block.default')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('core.entity_view_display.block_content.modal_block.default')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('field.field.block_content.modal_block.field_modal_blocks')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('field.storage.block_content.field_modal_blocks')
    ->delete();
chishah92’s picture

Status: Needs work » Needs review
StatusFileSize
new6.87 KB

Yes, i found that after i submitted the patch, have removed in this new patch.

neeraprajapati’s picture

Status: Needs review » Reviewed & tested by the community

This patch is working fine.

nishantkumar155’s picture

Status: Reviewed & tested by the community » Fixed

Thank you @chishah92 and @neeraprajapati .

chishah92’s picture

Assigned: chishah92 » Unassigned
Status: Fixed » Closed (fixed)