fixed some issues caused by c&ping from opencase_entities
This commit is contained in:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user