public function SocialAlbumImageForm::buildForm in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::buildForm()
- 10.0.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::buildForm()
- 10.1.x modules/social_features/social_album/src/Form/SocialAlbumImageForm.php \Drupal\social_album\Form\SocialAlbumImageForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides PostDeleteForm::buildForm
File
- modules/
social_features/ social_album/ src/ Form/ SocialAlbumImageForm.php, line 18
Class
- SocialAlbumImageForm
- Provides a form for deleting album post entities.
Namespace
Drupal\social_album\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
unset($form['#title']);
return $form;
}