public function getListByProperties($condition = NULL, $value = NULL) {
    $options = [];
    foreach ($this->getDefinitions() as $plugin_id => $plugin_definition) {
      if (empty($condition) || (isset($plugin_definition[$condition]) && $plugin_definition[$condition] === $value)) {
        $options[] = $plugin_id;
      }
    }
    return $options;

  }
public function getListByProperties($condition = NULL, $value = NULL) {
    $options = [];
    foreach ($this->getDefinitions() as $plugin_id => $plugin_definition) {
      if (empty($condition) || (isset($plugin_definition[$condition]) && $plugin_definition[$condition] === $value)) {
        $options[] = $plugin_id;
      }
    }
    return $options;

  }
public function getListByProperties ( $ condition = NULL , $ value = NULL ) { $ options = [ ] ; foreach ( $ this -> getDefinitions ( ) as $ plugin_id => $ plugin_definition ) { if ( empty ( $ condition ) || ( isset ( $ plugin_definition [ $ condition ] ) && $ plugin_definition [ $ condition ] === $ value ) ) { $ options [ ] = $ plugin_id ; } } return $ options ; }
Retrieves an list of available destinations by given properties.

@param string $condition
The property to filter on.
@param bool $value
Value.

@return string[]
An array of the IDs of all available destination plugins.
Retrieves an list of available destinations by given properties .