This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class Foo extends Component { | |
render() { | |
return ( | |
<div> | |
<div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class Foo extends Component { | |
render() { | |
return ( | |
<div> | |
<div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class Foo extends Component { | |
render() { | |
return ( | |
<div> | |
<div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- url: /mao\.yaml | |
static_files: mao.yaml | |
upload: mao\.yaml | |
application_readable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal_set_message('Some text'); | |
if ($ajax == 'ajax') { | |
$commands = array(); | |
$commands[] = ajax_command_append('#messages', theme('status_messages')); | |
$page = array('#type' => 'ajax', '#commands' => $commands); | |
ajax_deliver($page); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/ezra/Developer/htdocs/acquia/commons-profile/modules/commons/commons_groups/commons_groups.strongarm.inc: | |
158 $strongarm->api_version = 1; | |
159 $strongarm->name = 'pathauto_node_pattern'; | |
160: $strongarm->value = 'groups/[node:og-group-ref:0:title]/[node:title]'; | |
161 $export['pathauto_node_pattern'] = $strongarm; | |
162 | |
/Users/ezra/Developer/htdocs/acquia/commons-profile/modules/commons/commons_notify/commons_notify.features.inc: | |
30 "message_text" : { "und" : [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Return TRUE if the entity is acting as a group. | |
* | |
* @param $entity_type | |
* The entity type. | |
* @param $entity | |
* The entity object, or the entity ID. | |
*/ | |
function og_is_group($entity_type, $entity) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Return TRUE if the entity is acting as a group. | |
* | |
* @param $entity_type | |
* The entity type. | |
* @param $entity | |
* The entity object, or the entity ID. | |
*/ | |
function og_is_group($entity_type, $entity) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (module_exists('commons_search_solr_user')) { | |
$field_instances['user-user-group_group']['view modes']['search_results'] = array( | |
'label' => 'hidden', | |
'module' => 'commons_trusted_contacts', | |
'custom settings' => TRUE, | |
'type' => 'trusted_contact', | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_form_alter(). | |
*/ | |
function commons_soundcloud_audio_form_alter(&$form, &$form_state, $form_id) { | |
if ($form_id == 'soundcloud_audio_node_form') { | |
dpm($form, 'form'); | |
} | |
} | |
function commons_soundcloud_audio_element_info_alter(&$type) { |
NewerOlder