You are here

public function UploadExtensions::getMachineTitle in Security Review 8

Returns the machine name of the check.

Naming rules (if overridden):

  • All characters should be lowerspace.
  • Use characters only from the english alphabet.
  • Don't use spaces (use "_" instead).

Return value

string ID of check.

Overrides Check::getMachineTitle

File

src/Checks/UploadExtensions.php, line 34

Class

UploadExtensions
Checks for unsafe extensions in the allowed extensions settings of fields.

Namespace

Drupal\security_review\Checks

Code

public function getMachineTitle() {
  return 'upload_extensions';
}