public ViewExecutable::hasFormElements()
Determines if this view has form elements.
Return value
bool TRUE if this view contains handlers with views form implementations, FALSE otherwise.
File
core/modules/views/src/ViewExecutable.php, line 2439
Class
ViewExecutable Represents a view as a whole.
Namespace
Drupal\views
Code
public function hasFormElements() {
foreach ($this->field as $field) {
if (property_exists($field, 'views_form_callback') || method_exists($field, 'viewsFo