From 8eab9ecb611f7ddaec281bdf3371c6cf894d27aa Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 26 Jan 2016 16:37:27 +0000
Subject: [PATCH] Issue #2653692 by TravisCarden: Table form element usage
 example refers to non-existent "#title" element

---
 core/lib/Drupal/Core/Render/Element/Table.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Render/Element/Table.php b/core/lib/Drupal/Core/Render/Element/Table.php
index 63e15ed0766b..393daa678703 100644
--- a/core/lib/Drupal/Core/Render/Element/Table.php
+++ b/core/lib/Drupal/Core/Render/Element/Table.php
@@ -34,7 +34,7 @@
  * @code
  * $form['contacts'] = array(
  *   '#type' => 'table',
- *   '#title' => 'Sample Table',
+ *   '#caption' => 'Sample Table',
  *   '#header' => array('Name', 'Phone'),
  * );
  *
-- 
GitLab