You are here

public function LingotekContentEntityFieldTooLongStorageException::__construct in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.8.x src/Exception/LingotekContentEntityFieldTooLongStorageException.php \Drupal\lingotek\Exception\LingotekContentEntityFieldTooLongStorageException::__construct()

Overrides LingotekContentEntityStorageException::__construct

File

src/Exception/LingotekContentEntityFieldTooLongStorageException.php, line 14

Class

LingotekContentEntityFieldTooLongStorageException
An exception for issues when storing content entity translations.

Namespace

Drupal\lingotek\Exception

Code

public function __construct(ContentEntityInterface $entity, string $field_name, $message = NULL, $code = 0) {
  parent::__construct($entity, NULL, $message, $code);
  $this->table = $field_name;
}