public function LingotekContentEntityFieldTooLongStorageException::__construct in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 4.0.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\ExceptionCode
public function __construct(ContentEntityInterface $entity, string $field_name, $message = NULL, $code = 0) {
parent::__construct($entity, NULL, $message, $code);
$this->table = $field_name;
}