Field::getLabel() method
Get field label for current language, or another specified language.
This is different from $field->label
in that it knows about languages (when installed).
Usage
// basic usage
$string = $field->getLabel();
// usage with all arguments
$string = $field->getLabel($language = null);
API reference based on ProcessWire core version 3.0.251