Commit ad125bc4 authored by Romain Jarraud's avatar Romain Jarraud Committed by Romain JARRAUD
Browse files

Issue #3315935 by romainj: Unable to determine class for field type...

Issue #3315935 by romainj: Unable to determine class for field type hubspot_integration_form found in the field.storage configuration
parent 4b5e1704
Loading
Loading
Loading
Loading
+7 −11
Changes for src/Plugin/Field/FieldType/HubspotFormItem.php: 7 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,13 @@

namespace Drupal\hubspot_integration\Plugin\Field\FieldType;

use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Field\FieldItemBase;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\TypedData\DataDefinition;

/**
 * Provides a field type of hubspot_integration_form.
 *
@@ -13,17 +20,6 @@ namespace Drupal\hubspot_integration\Plugin\Field\FieldType;
 *   category = @Translation("Hubspot Integration"),
 * )
 */

use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Field\FieldItemBase;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\TypedData\DataDefinition;

/**
 * THe Hubspot form item.
 */
class HubspotFormItem extends FieldItemBase {

  /**