public static function OperatorsHelper::getStandAloneOperators in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_server/src/OperatorsHelper.php \Drupal\entity_share_server\OperatorsHelper::getStandAloneOperators()
- 8.2 modules/entity_share_server/src/OperatorsHelper.php \Drupal\entity_share_server\OperatorsHelper::getStandAloneOperators()
Helper function to get the stand alone operators.
Operators that do not require a value to be entered.
Return value
array An array of options.
2 calls to OperatorsHelper::getStandAloneOperators()
- FilterAddForm::buildValueElement in modules/
entity_share_server/ src/ Form/ FilterAddForm.php - Helper function to generate filter form elements.
- FilterEditForm::buildValueElement in modules/
entity_share_server/ src/ Form/ FilterEditForm.php - Helper function to generate filter form elements.
File
- modules/
entity_share_server/ src/ OperatorsHelper.php, line 39
Class
- OperatorsHelper
- Defines the Operators helper class.
Namespace
Drupal\entity_share_serverCode
public static function getStandAloneOperators() {
return [
'IS NULL' => 'IS NULL',
'IS NOT NULL' => 'IS NOT NULL',
];
}