1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?php
- /**
- * @file
- * materio_bookmarks.features.inc
- */
- /**
- * Implements hook_flag_default_flags().
- */
- function materio_bookmarks_flag_default_flags() {
- $flags = array();
- // Exported flag: "Bookmarks".
- $flags['bookmarks'] = array(
- 'entity_type' => 'node',
- 'title' => 'Bookmarks',
- 'global' => 0,
- 'types' => array(
- 0 => 'breve',
- 1 => 'materiau',
- ),
- 'flag_short' => 'Bookmark this',
- 'flag_long' => 'Add this post to your bookmarks',
- 'flag_message' => 'This post has been added to your bookmarks',
- 'unflag_short' => 'Unbookmark this',
- 'unflag_long' => 'Remove this post from your bookmarks',
- 'unflag_message' => 'This post has been removed from your bookmarks',
- 'unflag_denied_text' => '',
- 'link_type' => 'toggle',
- 'weight' => 0,
- 'show_in_links' => array(
- 'full' => 'full',
- 'bookmark' => 'bookmark',
- 'cardsmall' => 'cardsmall',
- 'cardmedium' => 'cardmedium',
- 'cardbig' => 'cardbig',
- 'cardfull' => 'cardfull',
- 'teaser' => 0,
- 'rss' => 0,
- 'diff_standard' => 0,
- 'print' => 0,
- 'email_plain' => 0,
- 'email_html' => 0,
- 'email_textalt' => 0,
- 'token' => 0,
- ),
- 'show_as_field' => 0,
- 'show_on_form' => 0,
- 'access_author' => '',
- 'show_contextual_link' => FALSE,
- 'i18n' => 0,
- 'module' => 'materio_bookmarks',
- 'locked' => array(
- 0 => 'name',
- ),
- 'api_version' => 3,
- );
- return $flags;
- }
- /**
- * Implements hook_image_default_styles().
- */
- function materio_bookmarks_image_default_styles() {
- $styles = array();
- // Exported image style: card-bookmark.
- $styles['card-bookmark'] = array(
- 'effects' => array(
- 5 => array(
- 'name' => 'image_scale_and_crop',
- 'data' => array(
- 'width' => 50,
- 'height' => 70,
- ),
- 'weight' => 1,
- ),
- ),
- 'label' => 'card-bookmark',
- );
- return $styles;
- }
|