You are here

FieldStorageDefinition.php in Opigno certificate 3.x

Same filename and directory in other branches
  1. 8 src/FieldStorageDefinition.php

File

src/FieldStorageDefinition.php
View source
<?php

namespace Drupal\opigno_certificate;

use Drupal\Core\Field\BaseFieldDefinition;

/**
 * A custom field storage definition class.
 *
 * For convenience we extend from BaseFieldDefinition although this should not
 * implement FieldDefinitionInterface.
 *
 * @todo Provide and make use of a proper FieldStorageDefinition class instead:
 *   https://www.drupal.org/node/2280639.
 */
class FieldStorageDefinition extends BaseFieldDefinition {

  /**
   * {@inheritdoc}
   */
  public function isBaseField() {
    return FALSE;
  }

}

Classes

Namesort descending Description
FieldStorageDefinition A custom field storage definition class.