public function RefreshPageElementsHelper::updatePageElements in Commerce Ajax Add to Cart 8
Updates page elements.
Parameters
array $form: Drupal form.
Return value
$this
File
- src/
RefreshPageElementsHelper.php, line 182
Class
- RefreshPageElementsHelper
- Provides methods that would help in refreshing certain page elements.
Namespace
Drupal\dc_ajax_add_cartCode
public function updatePageElements(array $form) {
return $this
->updateFormBuildId($form)
->updateStatusMessages()
->updateCart();
}