first global commit

This commit is contained in:
2020-09-23 15:50:29 +02:00
commit 78adf3a099
6052 changed files with 1221183 additions and 0 deletions
@@ -0,0 +1,43 @@
<?php
class NodeEntityFieldQuery extends EntityFieldQuery {
// define some defaults for the class
public function __construct() {
// now we don't need to define these over and over anymore
$this
->entityCondition('entity_type', 'node')
->propertyCondition('status', 1);
}
}
class EffectuationEntityFieldQuery extends NodeEntityFieldQuery {
// define some defaults for the class
public function __construct() {
// now we don't need to define these over and over anymore
$this
->entityCondition('bundle', array('effectuation'))
->fieldCondition('field_performances', 'target_id', 'NULL', '!=')
->fieldOrderBy('field_date_de_debut', 'value', 'ASC');
}
}
// class PerformanceEntityFieldQuery extends NodeEntityFieldQuery {
// // define some defaults for the class
// public function __construct() {
// // now we don't need to define these over and over anymore
// $this
// ->entityCondition('bundle', array('performance'));
// }
// }
/*
class PerformancesEntityFieldQuery extends NodeEntityFieldQuery {
// define some defaults for the class
public function __construct() {
// now we don't need to define these over and over anymore
$this
->entityCondition('bundle', array('performance'));
}
}
*/