You are here

function fb_likebox_patterns in Facebook Page Plugin 7

Same name and namespace in other branches
  1. 7.2 fb_likebox_patterns/fb_likebox_patterns.module \fb_likebox_patterns()

Implements hook_patterns().

1 string reference to 'fb_likebox_patterns'
fb_likebox_patterns_directory in fb_likebox_patterns/fb_likebox_patterns.module
Implements hook_patterns_directory().

File

fb_likebox_patterns/fb_likebox_patterns.module, line 15
Submodule to enable compatibility of Facebook Likebox with patterns module. The current version makes use of the system pattern component, therefore it does not really call drupal_form_submit() for the block_admin_configure $form_id, and the values…

Code

function fb_likebox_patterns($data = NULL) {
  $actions['fb_likebox'] = array(
    PATTERNS_INFO => t('Settings for Facebook Likebox module'),
    PATTERNS_MODIFY => array(
      'variables_execute',
    ),
    PATTERNS_EXPORT => array(
      PATTERNS_EXPORT_ALL => 'fb_likebox_patterns_export_all_settings',
    ),
  );
  return $actions;
}