This pull request is related to the following JIRA tickets: XYZ-1: Sample Ticket A.
- This new module requires version xyz of module.
- Requires pull request #148.
<?php | |
/** | |
* @file | |
*/ | |
function imagex_installkit_ops_drush_command() { | |
$commands = array(); | |
$commands['installkit-ops-update'] = array( | |
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH, | |
'aliases' => array('ops-update'), |
/** | |
* Implements hook_views_default_views_alter(). | |
*/ | |
function MODULENAME_views_default_views_alter(&$views) { | |
foreach ($views as $view_name => &$view) { | |
// If the view is disabled, simply continue onto the next. | |
if (TRUE == $view->disabled) { | |
continue; | |
} |
<?php | |
$array = array( | |
'a' => 'A', | |
'b' => 'B', | |
'c' => 'C', | |
); | |
$st = microtime(TRUE); |
<?php | |
/** | |
* @file | |
* Contains class EntityFieldPropertyQuery. | |
*/ | |
/** | |
* EntityFieldQuery class allowing for base table properties to be returned. | |
*/ | |
class EntityFieldPropertyQuery extends EntityFieldQuery { |
<?php | |
/** | |
* @file | |
*/ | |
/** | |
* Implements hook_schema_alter(). | |
*/ | |
function MODULENAME_schema_alter(&$schema) { | |
if (isset($schema['views_arg_cache_index_arguments'])) { |
This pull request is related to the following JIRA tickets: XYZ-1: Sample Ticket A.
<?php | |
/** | |
* Returns the node identifier should the path be a node viewing path. | |
* | |
* Note: This function returns FALSE for all node action or local task paths | |
* such as node/[nid]/edit. | |
* | |
* Furthermore, a node alias may be specified as $path which will perform a path | |
* normalization allowing for the node system path to be retrieved and parsed. | |
* |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
diff --git a/plugins/entity/PanelizerEntityNode.class.php b/plugins/entity/PanelizerEntityNode.class.php | |
index 5ea50a1..14027ce 100644 | |
--- a/plugins/entity/PanelizerEntityNode.class.php | |
+++ b/plugins/entity/PanelizerEntityNode.class.php | |
@@ -32,6 +32,9 @@ class PanelizerEntityNode extends PanelizerEntityDefault { | |
if (isset($entity->workbench_moderation)) { | |
$entity->workbench_moderation['updating_live_revision'] = TRUE; | |
} | |
+ if (!empty($entity->menu['link_title'])) { | |
+ $entity->menu['enabled'] = TRUE; |
<?php | |
/** | |
* Retrieves a single form by the $form_id and maps path arguments to values. | |
* | |
* This function mimics the behaviour of drupal_get_form() however it also | |
* provides a mechanism to map path arguments to the default values provided | |
* to the form via $form_state['values']. This solves a massive problem with | |
* the Drupal core ability to correctly handle forms with that have methods of | |
* type "GET" (<form method="get">) correctly. |