public function StatusHeartPost::verifyExtension in Heartbeat 8
1 call to StatusHeartPost::verifyExtension()
- StatusHeartPost::getMedia in modules/
statusmessage/ src/ StatusHeartPost.php
File
- modules/
statusmessage/ src/ StatusHeartPost.php, line 222
Class
- StatusHeartPost
- @property \Drupal\statusmessage\MarkupGenerator generator @property message
Namespace
Drupal\statusmessageCode
public function verifyExtension($string) {
return $this
->strposMultiple($string, [
'jpg',
'jpeg',
'png',
'gif',
'bmp',
]);
}