Commit 3288a179 authored by alexpott's avatar alexpott

Issue #2740499 by nesta_, lluvigne, rajeshwari10, jhodgdon, er.pushpinderrana,...

Issue #2740499 by nesta_, lluvigne, rajeshwari10, jhodgdon, er.pushpinderrana, joachim: parameter to DiscoveryTrait::doGetDefinition() is incorrectly documented as optional
parent 7b3b072c
......@@ -30,8 +30,8 @@ public function getDefinition($plugin_id, $exception_on_invalid = TRUE) {
* @param string $plugin_id
* A plugin id.
* @param bool $exception_on_invalid
* (optional) If TRUE, an invalid plugin ID will throw an exception.
* Defaults to FALSE.
* If TRUE, an invalid plugin ID will cause an exception to be thrown; if
* FALSE, NULL will be returned.
*
* @return array|null
* A plugin definition, or NULL if the plugin ID is invalid and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment