@@ -33,22 +33,22 @@ public function getContextDefinitions();
3333 * @param string $name
3434 * The name of the context in the plugin definition.
3535 *
36- * @throws \Drupal\Component\Plugin\Exception\PluginException
37- * If the requested context is not defined.
38- *
3936 * @return \Drupal\Component\Plugin\Context\ContextDefinitionInterface.
4037 * The definition against which the context value must validate.
38+ *
39+ * @throws \Drupal\Component\Plugin\Exception\PluginException
40+ * If the requested context is not defined.
4141 */
4242 public function getContextDefinition ($ name );
4343
4444 /**
4545 * Gets the defined contexts.
4646 *
47- * @throws \Drupal\Component\Plugin\Exception\PluginException
48- * If contexts are defined but not set.
49- *
5047 * @return array
5148 * The set context objects.
49+ *
50+ * @throws \Drupal\Component\Plugin\Exception\PluginException
51+ * If contexts are defined but not set.
5252 */
5353 public function getContexts ();
5454
@@ -58,11 +58,11 @@ public function getContexts();
5858 * @param string $name
5959 * The name of the context in the plugin definition.
6060 *
61- * @throws \Drupal\Component\Plugin\Exception\PluginException
62- * If the requested context is not set.
63- *
6461 * @return \Drupal\Component\Plugin\Context\ContextInterface
6562 * The context object.
63+ *
64+ * @throws \Drupal\Component\Plugin\Exception\PluginException
65+ * If the requested context is not set.
6666 */
6767 public function getContext ($ name );
6868
@@ -81,11 +81,11 @@ public function getContextValues();
8181 * @param string $name
8282 * The name of the context in the plugin configuration.
8383 *
84- * @throws \Drupal\Component\Plugin\Exception\PluginException
85- * If the requested context is not set.
86- *
8784 * @return mixed
8885 * The currently set context value.
86+ *
87+ * @throws \Drupal\Component\Plugin\Exception\PluginException
88+ * If the requested context is not set.
8989 */
9090 public function getContextValue ($ name );
9191
@@ -108,11 +108,11 @@ public function setContext($name, ContextInterface $context);
108108 * The value to set the context to. The value has to validate against the
109109 * provided context definition.
110110 *
111- * @throws \Drupal\Component\Plugin\Exception\PluginException
112- * If the value does not pass validation.
113- *
114111 * @return \Drupal\Component\Plugin\ContextAwarePluginInterface.
115112 * A context aware plugin object for chaining.
113+ *
114+ * @throws \Drupal\Component\Plugin\Exception\PluginException
115+ * If the value does not pass validation.
116116 */
117117 public function setContextValue ($ name , $ value );
118118
0 commit comments