class ActionError in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Action for processing errors.
Hierarchy
- class \Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\AAction
- class \Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\ActionError
Expanded class hierarchy of ActionError
1 file declares its use of ActionError
- Actions.php in src/
Flmngr/ FileUploaderServer/ lib/ Actions.php
File
- src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionError.php, line 10
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\lib\actionView source
class ActionError extends AAction {
/**
* {@inheritdoc}
*/
public function getName() {
return "error";
}
/**
* {@inheritdoc}
*/
public function run($req) {
return new RespFail($req->message);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AAction:: |
protected | property | ||
AAction:: |
public | function | Sets a config. | |
AAction:: |
protected | function | Validates boolean and returns default value if null. | |
AAction:: |
protected | function | Validates integer and returns default value if null. | |
AAction:: |
protected | function | Validates string and returns default value if null. | |
ActionError:: |
public | function |
Returnes name of action. Overrides AAction:: |
|
ActionError:: |
public | function |
Runs action. Overrides AAction:: |