Loading composer/Plugin/Scaffold/Operations/OperationFactory.php +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ protected function createAppendOp(PackageInterface $package, OperationData $oper * * @param Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $file * Scaffold file to check. * * @return bool * True if the file exists and has content. */ Loading core/lib/Drupal/Component/Annotation/AnnotationInterface.php +2 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public function getProvider(); * Sets the name of the provider of the annotated class. * * @param string $provider * The provider of the annotated class. */ public function setProvider($provider); Loading @@ -44,6 +45,7 @@ public function getClass(); * Sets the class of the annotated class. * * @param string $class * The class of the annotated class. */ public function setClass($class); Loading core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ public function setContainer(ContainerInterface $container = NULL) { /** * @param $class * The class to set as standalone. */ public function setStandalone($class) { if (!is_subclass_of($class, ReaderManagerInterface::class) && !is_subclass_of($class, WriterManagerInterface::class)) { Loading core/lib/Drupal/Component/Gettext/PoItem.php +8 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public function getLangcode() { * Set the language code of the current language. * * @param string $langcode * The language code of the current language. */ public function setLangcode($langcode) { $this->langcode = $langcode; Loading @@ -95,6 +96,7 @@ public function getContext() { * Set the context this translation belongs to. * * @param string $context * The context this translation belongs to. */ public function setContext($context) { $this->context = $context; Loading @@ -115,6 +117,7 @@ public function getSource() { * plurals. * * @param string|array $source * The source string or the array of strings if the translation has plurals. */ public function setSource($source) { $this->source = $source; Loading @@ -135,6 +138,8 @@ public function getTranslation() { * plurals. * * @param string|array $translation * The translation string or the array of strings if the translation has * plurals. */ public function setTranslation($translation) { $this->translation = $translation; Loading @@ -144,6 +149,7 @@ public function setTranslation($translation) { * Set if the translation has plural values. * * @param bool $plural * TRUE, if the translation has plural values. FALSE otherwise. */ public function setPlural($plural) { $this->plural = $plural; Loading Loading @@ -171,6 +177,7 @@ public function getComment() { * Set the comment of this translation. * * @param string $comment * The comment of this translation. */ public function setComment($comment) { $this->comment = $comment; Loading @@ -180,6 +187,7 @@ public function setComment($comment) { * Create the PoItem from a structured array. * * @param array $values * A structured array to create the PoItem from. */ public function setFromArray(array $values = []) { if (isset($values['context'])) { Loading core/lib/Drupal/Component/Utility/Random.php +1 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,7 @@ public function sentences($min_word_count, $capitalize = FALSE) { * Generate paragraphs separated by double new line. * * @param int $paragraph_count * The number of paragraphs to create. Defaults to 12. * * @return string */ Loading Loading
composer/Plugin/Scaffold/Operations/OperationFactory.php +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ protected function createAppendOp(PackageInterface $package, OperationData $oper * * @param Drupal\Composer\Plugin\Scaffold\ScaffoldFilePath $file * Scaffold file to check. * * @return bool * True if the file exists and has content. */ Loading
core/lib/Drupal/Component/Annotation/AnnotationInterface.php +2 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ public function getProvider(); * Sets the name of the provider of the annotated class. * * @param string $provider * The provider of the annotated class. */ public function setProvider($provider); Loading @@ -44,6 +45,7 @@ public function getClass(); * Sets the class of the annotated class. * * @param string $class * The class of the annotated class. */ public function setClass($class); Loading
core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php +1 −0 Original line number Diff line number Diff line Loading @@ -124,6 +124,7 @@ public function setContainer(ContainerInterface $container = NULL) { /** * @param $class * The class to set as standalone. */ public function setStandalone($class) { if (!is_subclass_of($class, ReaderManagerInterface::class) && !is_subclass_of($class, WriterManagerInterface::class)) { Loading
core/lib/Drupal/Component/Gettext/PoItem.php +8 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public function getLangcode() { * Set the language code of the current language. * * @param string $langcode * The language code of the current language. */ public function setLangcode($langcode) { $this->langcode = $langcode; Loading @@ -95,6 +96,7 @@ public function getContext() { * Set the context this translation belongs to. * * @param string $context * The context this translation belongs to. */ public function setContext($context) { $this->context = $context; Loading @@ -115,6 +117,7 @@ public function getSource() { * plurals. * * @param string|array $source * The source string or the array of strings if the translation has plurals. */ public function setSource($source) { $this->source = $source; Loading @@ -135,6 +138,8 @@ public function getTranslation() { * plurals. * * @param string|array $translation * The translation string or the array of strings if the translation has * plurals. */ public function setTranslation($translation) { $this->translation = $translation; Loading @@ -144,6 +149,7 @@ public function setTranslation($translation) { * Set if the translation has plural values. * * @param bool $plural * TRUE, if the translation has plural values. FALSE otherwise. */ public function setPlural($plural) { $this->plural = $plural; Loading Loading @@ -171,6 +177,7 @@ public function getComment() { * Set the comment of this translation. * * @param string $comment * The comment of this translation. */ public function setComment($comment) { $this->comment = $comment; Loading @@ -180,6 +187,7 @@ public function setComment($comment) { * Create the PoItem from a structured array. * * @param array $values * A structured array to create the PoItem from. */ public function setFromArray(array $values = []) { if (isset($values['context'])) { Loading
core/lib/Drupal/Component/Utility/Random.php +1 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,7 @@ public function sentences($min_word_count, $capitalize = FALSE) { * Generate paragraphs separated by double new line. * * @param int $paragraph_count * The number of paragraphs to create. Defaults to 12. * * @return string */ Loading