/**
* Retrieves the options when this is a new access control plugin.
*/
- protected function defineOptions() { return []; }
+ protected function defineOptions() {
+ return [];
+ }
/**
* Provides the default form for setting options.
*/
- public function buildOptionsForm(&$form, FormStateInterface $form_state) { }
+ public function buildOptionsForm(&$form, FormStateInterface $form_state) {}
/**
* Provides the default form for validating options.
*/
- public function validateOptionsForm(&$form, FormStateInterface $form_state) { }
+ public function validateOptionsForm(&$form, FormStateInterface $form_state) {}
/**
* Provides the default form for submitting options.
*/
- public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = []) { }
+ public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = []) {}
/**
* Determines if the administrator has the privileges to use this plugin.
*/
- public function access() { return TRUE; }
+ public function access() {
+ return TRUE;
+ }
/**
* Blocks user input when the form is shown but we donĀ“t have access.
/**
* Performs validation for a given argument.
*/
- public function validateArgument($arg) { return TRUE; }
+ public function validateArgument($arg) {
+ return TRUE;
+ }
/**
* Processes the summary arguments for displaying.
* for a faster query. But there are use cases where you want to use
* the old value again, for example the summary.
*/
- public function processSummaryArguments(&$args) { }
+ public function processSummaryArguments(&$args) {}
/**
* Returns a context definition for this argument.
* A context definition that represents the argument or NULL if that is
* not possible.
*/
- public function getContextDefinition() { }
+ public function getContextDefinition() {}
}