You are here

function hook_fieldable_panels_panes_content_types_alter in Fieldable Panels Panes (FPP) 7

All the list of CTools plugin specs for FPP objects to be modified.

Parameters

array $types: All of the CTools plugin specifications for these FPP objects.

string $bundle: The FPP bundle.

array $entities: All of the FPP entities for this bundle indexed by their CTools subtype, e.g. fpid:123, vid:123, uuid:123.

1 invocation of hook_fieldable_panels_panes_content_types_alter()
fieldable_panels_panes_build_content_type_info in plugins/content_types/fieldable_panels_pane.inc
Returns a list of all reusable FPP entities of a given bundle.

File

./fieldable_panels_panes.api.php, line 104
Hooks provided by the Fieldable Panels Panes module.

Code

function hook_fieldable_panels_panes_content_types_alter(array &$types, $bundle, array $entities) {
  foreach ($types as $name => &$type) {
    $type['icon'] = 'icon_funnyface.png';
  }
}