public function SensorForm::formTitle in Monitoring 8
Settings form page title callback.
Parameters
\Drupal\monitoring\SensorConfigInterface $monitoring_sensor_config: The Sensor config.
Return value
string
1 string reference to 'SensorForm::formTitle'
File
- src/
Form/ SensorForm.php, line 300 - Contains \Drupal\monitoring\Form\SensorForm.
Class
- SensorForm
- Sensor settings form controller.
Namespace
Drupal\monitoring\FormCode
public function formTitle(SensorConfigInterface $monitoring_sensor_config) {
return $this
->t('@label settings (@category)', array(
'@category' => $monitoring_sensor_config
->getCategory(),
'@label' => $monitoring_sensor_config
->getLabel(),
));
}