You are here

public function ImceFM::setMessage in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImceFM.php \Drupal\imce\ImceFM::setMessage()

Sets a status message.

6 calls to ImceFM::setMessage()
ImceFM::init in src/ImceFM.php
Initializes the file manager.
ImceFM::run in src/ImceFM.php
Runs an operation on the file manager.
ImceFM::validateDimensions in src/ImceFM.php
Validates min/max image dimensions.
ImceFM::validateFileName in src/ImceFM.php
Validates a file name.
ImceFM::validateImageTypes in src/ImceFM.php
Checks if all the selected items are images.

... See full list

File

src/ImceFM.php, line 533

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function setMessage($message, $type = 'error') {
  $this->messages[$type][] = $message;
}