You are here

function brightcove_filter_info in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 7.6 brightcove.module \brightcove_filter_info()

Implements hook_filter_info().

File

./brightcove.module, line 1831
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_filter_info() {
  $filters = [];
  $filters['filter_brightcove'] = [
    'title' => t('Brightcove filter'),
    'process callback' => '_filter_brightcove',
    'settings callback' => '_filter_brightcove_settings',
    'default settings' => [
      'player' => variable_get('brightcove_player_default'),
    ],
    'tips callback' => '_filter_brightcove_tips',
  ];
  return $filters;
}