Commit 70c8d13c authored by catch's avatar catch
Browse files

Issue #3188327 by DeFr, longwave, ravi.shankar, quietone: Docblock of...

Issue #3188327 by DeFr, longwave, ravi.shankar, quietone: Docblock of BaseFieldDefinition::setDisplayOptions still mentions setting type = hidden instead of region = hidden

(cherry picked from commit 0e2da426)
parent 22aa1373
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -371,8 +371,9 @@ public function addPropertyConstraints($name, array $constraints) {
   *   An array of display options. Refer to
   *   \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
   *   a list of supported keys. The options should include at least a 'weight',
   *   or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
   *   for the field type will be used if no 'type' is specified.
   *   or specify 'region' = 'hidden'. The 'default_widget' /
   *   'default_formatter' for the field type will be used if no 'type' is
   *   specified.
   *
   * @return static
   *   The object itself for chaining.