public function checkMentionTypes() {
    $settings = $this->settings;

    if (isset($settings['mentions_filter'])) {
      $configs = $this->config->listAll('mentions.mentions_type');

      foreach ($configs as $config) {
        $this->mentionTypes[] = str_replace('mentions.mentions_type.', '', $config);
      }
    }

    return !empty($this->mentionTypes);
  }
public function checkMentionTypes() {
    $settings = $this->settings;

    if (isset($settings['mentions_filter'])) {
      $configs = $this->config->listAll('mentions.mentions_type');

      foreach ($configs as $config) {
        $this->mentionTypes[] = str_replace('mentions.mentions_type.', '', $config);
      }
    }

    return !empty($this->mentionTypes);
  }
public function checkMentionTypes ( ) { $ settings = $ this -> settings ; if ( isset ( $ settings [ 'mentions_filter' ] ) ) { $ configs = $ this -> config -> listAll ( 'mentions.mentions_type' ) ; foreach ( $ configs as $ config ) { $ this -> mentionTypes [ ] = str_replace ( 'mentions.mentions_type.' , '' , $ config ) ; } } return ! empty ( $ this -> mentionTypes ) ; }
Checks if there are mentionTypes.

@return bool
TRUE if there are mentionTypes, otherwise FALSE.
Checks if there are mentionTypes .