fixed some issues caused by c&ping from opencase_entities

This commit is contained in:
2021-02-18 12:02:25 +00:00
parent 0f0281c58c
commit bc98ecb541
27 changed files with 89 additions and 90 deletions

View File

@ -1,6 +1,6 @@
<?php
namespace Drupal\opencase_entities\Form;
namespace Drupal\opencase_cases\Form;
use Drupal\Core\Entity\ContentEntityForm;
use Drupal\Core\Form\FormStateInterface;
@ -8,7 +8,7 @@ use Drupal\Core\Form\FormStateInterface;
/**
* Form controller for Case edit forms.
*
* @ingroup opencase_entities
* @ingroup opencase_cases
*/
class OCCaseForm extends ContentEntityForm {
@ -16,7 +16,7 @@ class OCCaseForm extends ContentEntityForm {
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state) {
/* @var $entity \Drupal\opencase_entities\Entity\OCCase */
/* @var $entity \Drupal\opencase_cases\Entity\OCCase */
$form = parent::buildForm($form, $form_state);
if (!$this->entity->isNew()) {