*
* @todo: This needs to go into an interface.
*
- * @return array
+ * @return \Drupal\Core\TypedData\DataDefinitionInterface[]
* An array of typed data definitions describing available configuration
* options, keyed by option name.
*/
/**
* Gets the definition of a configuration option.
*
+ * @param string $key
+ * The key of the configuration option to get.
+ *
* @todo: This needs to go into an interface.
*
- * @return array
+ * @return \Drupal\Core\TypedData\DataDefinitionInterface|false
* The typed data definition describing the configuration option, or FALSE
* if the option does not exist.
*/
*
* @return \Drupal\Core\Executable\ExecutablePluginBase
* The executable object for chaining.
+ *
+ * @throws \Drupal\Component\Plugin\Exception\PluginException
+ * If the provided configuration value does not pass validation.
*/
public function setConfig($key, $value) {
if ($definition = $this->getConfigDefinition($key)) {