class LingotekContentEntityFieldTooLongStorageException in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 3.8.x src/Exception/LingotekContentEntityFieldTooLongStorageException.php \Drupal\lingotek\Exception\LingotekContentEntityFieldTooLongStorageException
An exception for issues when storing content entity translations.
@package Drupal\lingotek\Exception
Hierarchy
- class \Drupal\lingotek\Exception\LingotekException extends \Drupal\lingotek\Exception\Exception
- class \Drupal\lingotek\Exception\LingotekContentEntityStorageException
- class \Drupal\lingotek\Exception\LingotekContentEntityFieldTooLongStorageException
- class \Drupal\lingotek\Exception\LingotekContentEntityStorageException
Expanded class hierarchy of LingotekContentEntityFieldTooLongStorageException
1 file declares its use of LingotekContentEntityFieldTooLongStorageException
File
- src/
Exception/ LingotekContentEntityFieldTooLongStorageException.php, line 12
Namespace
Drupal\lingotek\ExceptionView source
class LingotekContentEntityFieldTooLongStorageException extends LingotekContentEntityStorageException {
public function __construct(ContentEntityInterface $entity, string $field_name, $message = NULL, $code = 0) {
parent::__construct($entity, NULL, $message, $code);
$this->table = $field_name;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LingotekContentEntityFieldTooLongStorageException:: |
public | function |
Overrides LingotekContentEntityStorageException:: |
|
LingotekContentEntityStorageException:: |
protected | property | The entity that could not be saved. | |
LingotekContentEntityStorageException:: |
protected | property | ||
LingotekContentEntityStorageException:: |
protected | function | Extract the problematic table from the previous exception message. | |
LingotekContentEntityStorageException:: |
public | function | Gets the table name that failed to update. |