public function Actions::getAction in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Gets action by name.
1 call to Actions::getAction()
- Actions::getActionError in src/
Flmngr/ FileUploaderServer/ lib/ Actions.php - Gets action for error.
File
- src/
Flmngr/ FileUploaderServer/ lib/ Actions.php, line 48
Class
- Actions
- Actions list. This class helps to understand which type of request Uploader received by checking all available handlers' names.
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\libCode
public function getAction($name) {
for ($i = 0; $i < count($this->actions); $i++) {
if ($this->actions[$i]
->getName() === $name) {
return $this->actions[$i];
}
}
return null;
}