Skip to content
This repository has been archived by the owner on Jul 26, 2019. It is now read-only.

Commit

Permalink
Panelizer configured to theme Candidate Details
Browse files Browse the repository at this point in the history
reference #80
  • Loading branch information
sumeetpareek committed Jan 14, 2014
1 parent ecf66ca commit df655d8
Show file tree
Hide file tree
Showing 5 changed files with 1,042 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
* Implements hook_ctools_plugin_api().
*/
function f_candidate_details_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "panelizer" && $api == "panelizer") {
return array("version" => "1");
}
list($module, $api) = func_get_args();
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,48 @@
function f_candidate_details_user_default_permissions() {
$permissions = array();

// Exported permission: administer panelizer node ct_candidate_details content.
$permissions['administer panelizer node ct_candidate_details content'] = array(
'name' => 'administer panelizer node ct_candidate_details content',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: administer panelizer node ct_candidate_details context.
$permissions['administer panelizer node ct_candidate_details context'] = array(
'name' => 'administer panelizer node ct_candidate_details context',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: administer panelizer node ct_candidate_details defaults.
$permissions['administer panelizer node ct_candidate_details defaults'] = array(
'name' => 'administer panelizer node ct_candidate_details defaults',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: administer panelizer node ct_candidate_details layout.
$permissions['administer panelizer node ct_candidate_details layout'] = array(
'name' => 'administer panelizer node ct_candidate_details layout',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: administer panelizer node ct_candidate_details overview.
$permissions['administer panelizer node ct_candidate_details overview'] = array(
'name' => 'administer panelizer node ct_candidate_details overview',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: administer panelizer node ct_candidate_details settings.
$permissions['administer panelizer node ct_candidate_details settings'] = array(
'name' => 'administer panelizer node ct_candidate_details settings',
'roles' => array(),
'module' => 'panelizer',
);

// Exported permission: create ct_candidate_details content.
$permissions['create ct_candidate_details content'] = array(
'name' => 'create ct_candidate_details content',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ dependencies[] = metatag
dependencies[] = node
dependencies[] = number
dependencies[] = options
dependencies[] = panelizer
dependencies[] = publishcontent
dependencies[] = strongarm
dependencies[] = taxonomy
dependencies[] = text
features[ctools][] = panelizer:panelizer:1
features[ctools][] = strongarm:strongarm:1
features[features_api][] = api:1
features[field][] = node-ct_candidate_details-body
Expand All @@ -35,6 +37,14 @@ features[field][] = node-ct_candidate_details-field_cd_profession_occupation
features[field][] = node-ct_candidate_details-field_cd_special_category
features[field][] = node-ct_candidate_details-field_cd_state
features[node][] = ct_candidate_details
features[panelizer_defaults][] = node:ct_candidate_details:default:default
features[panelizer_defaults][] = node:ct_candidate_details:default:teaser
features[user_permission][] = administer panelizer node ct_candidate_details content
features[user_permission][] = administer panelizer node ct_candidate_details context
features[user_permission][] = administer panelizer node ct_candidate_details defaults
features[user_permission][] = administer panelizer node ct_candidate_details layout
features[user_permission][] = administer panelizer node ct_candidate_details overview
features[user_permission][] = administer panelizer node ct_candidate_details settings
features[user_permission][] = create ct_candidate_details content
features[user_permission][] = delete any ct_candidate_details content
features[user_permission][] = delete own ct_candidate_details content
Expand All @@ -56,6 +66,11 @@ features[variable][] = menu_parent_ct_candidate_details
features[variable][] = node_options_ct_candidate_details
features[variable][] = node_preview_ct_candidate_details
features[variable][] = node_submitted_ct_candidate_details
features[variable][] = panelizer_defaults_node_ct_candidate_details
features[variable][] = panelizer_node:ct_candidate_details_allowed_layouts
features[variable][] = panelizer_node:ct_candidate_details_allowed_layouts_default
features[variable][] = panelizer_node:ct_candidate_details_allowed_types_default
features[variable][] = panelizer_node:ct_candidate_details_default
features[variable][] = pathauto_node_ct_candidate_details_pattern
features[variable][] = publishcontent_ct_candidate_details
features[variable][] = save_continue_ct_candidate_details
Expand Down
Loading

0 comments on commit df655d8

Please sign in to comment.