This file contains hidden or 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
langcode: en | |
status: true | |
dependencies: | |
module: | |
- civicrm_entity | |
- civicrm_entity_leaflet | |
- options | |
id: proximity_with_map | |
label: 'Proximity with Map' | |
module: views |
This file contains hidden or 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
langcode: en | |
status: true | |
dependencies: | |
module: | |
- civicrm_entity | |
- options | |
id: proximity | |
label: Proximity | |
module: views | |
description: '' |
This file contains hidden or 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
uuid: 88453c8e-978b-4a73-81a2-e124007c01a7 | |
langcode: en | |
status: true | |
dependencies: | |
module: | |
- civicrm_entity | |
- user | |
id: contact_related_perm_test | |
label: 'Contact related Perm test' | |
module: views |
This file contains hidden or 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
function civicrm_customs_action_info() { | |
return array( | |
'civicrm_customs_update_activity_status_action' => array( | |
'type' => 'civicrm_activity', | |
'label' => t('Update Activity Status'), | |
'behavior' => array('views_property'), | |
'configurable' => FALSE, | |
'vbo_configurable' => TRUE, | |
'triggers' => array('any'), | |
'pass rows' => TRUE, |
This file contains hidden or 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
function civicrm_customs_action_info() { | |
return array( | |
'civicrm_customs_update_participant_status_action' => array( | |
'type' => 'civicrm_participant', | |
'label' => t('Update participant status'), | |
'behavior' => array('views_property'), | |
'configurable' => FALSE, | |
'vbo_configurable' => TRUE, | |
'triggers' => array('any'), | |
'pass rows' => TRUE, |
This file contains hidden or 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 | |
use Drupal\Tests\civicrm_tests\FunctionalJavascript\CivicrmFunctionalJavascriptBase; | |
/** | |
* Class CivicrmExtensionTests | |
* | |
* @group CivicrmTests | |
*/ | |
class CivicrmExtensionTests extends CivicrmFunctionalJavascriptBase { |
This file contains hidden or 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 | |
namespace Drupal\Tests\civicrm_tests\FunctionalJavascript; | |
use Behat\Mink\Element\NodeElement; | |
use Drupal\FunctionalJavascriptTests\WebDriverTestBase; | |
use Drupal\Core\Database\Database; | |
/** | |
* Base class for CiviCRM Functional Javascript Tests |
This file contains hidden or 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
$data['civicrm_contact']['user'] = [ | |
'title' => 'User related to the CiviCRM contact', | |
'help' => 'Relate user to the CiviCRM contact.', | |
'relationship' => [ | |
'base' => 'users_field_data', | |
'base field' => 'uid', | |
'first field' => 'contact_id', | |
'second field' => 'uf_id', | |
'id' => 'civicrm_entity_civicrm_contact_user', | |
'label' => 'User', |
This file contains hidden or 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 | |
namespace Drupal\civicrm_entity\Plugin\views\relationship; | |
use Drupal\views\Plugin\views\relationship\RelationshipPluginBase; | |
use Drupal\views\Views; | |
/** | |
* Relationship for referencing civicrm_contact and user. | |
* |
This file contains hidden or 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
class LmsLrsTestCaseSelenium extends \PHPUnit_Extensions_Selenium2TestCase { | |
/** | |
* Standard phpunit setup method. | |
*/ | |
public function setUp() { | |
global $bootstrap; | |
if (!empty($bootstrap)) { | |
$this->bootstrap = $bootstrap; |