modules/acm/src/Form/ConnectorSettingsForm.php
public function getFilterFormats() {
    $options = [];
    $formats = filter_formats($this->currentUser);
    foreach ($formats as $format) {
      $options[$format->id()] = $format->label();
    }
    return $options;
  }
public function getFilterFormats() {
    $options = [];
    $formats = filter_formats($this->currentUser);
    foreach ($formats as $format) {
      $options[$format->id()] = $format->label();
    }
    return $options;
  }
public function getFilterFormats ( ) { $ options = [ ] ; $ formats = filter_formats ( $ this -> currentUser ) ; foreach ( $ formats as $ format ) { $ options [ $ format -> id ( ) ] = $ format -> label ( ) ; } return $ options ; }
Get all filter formats available to the user.

@return array
An array of available html filters.
Get all filter formats available to the user .