Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Expanded.php

class Expanded

Compact formatter.

@author Marco Marchiò <marco.mm89@gmail.com>

Hierarchy

  • class \Peast\Formatter\Base
    • class \Peast\Formatter\Expanded extends \Peast\Formatter\Base

Expanded class hierarchy of Expanded

10 string references to 'Expanded'
core.menu.schema.yml in core/config/schema/core.menu.schema.yml
core/config/schema/core.menu.schema.yml
d6_menu_links.yml in core/modules/menu_link_content/migrations/d6_menu_links.yml
core/modules/menu_link_content/migrations/d6_menu_links.yml
d6_menu_links_localized.yml in core/modules/content_translation/migrations/d6_menu_links_localized.yml
core/modules/content_translation/migrations/d6_menu_links_localized.yml
d7_menu_links.yml in core/modules/menu_link_content/migrations/d7_menu_links.yml
core/modules/menu_link_content/migrations/d7_menu_links.yml
MenuLinkContentForm::buildEntity in core/modules/menu_link_content/src/Form/MenuLinkContentForm.php
Builds an updated entity object based upon the submitted form values.

... See full list

File

vendor/mck89/peast/lib/Peast/Formatter/Expanded.php, line 17

Namespace

Peast\Formatter
View source
class Expanded extends Base {
    
    /**
     * Boolean that indicates if open curly brackets in code blocks must be
     * on a new line
     * 
     * @var bool
     */
    protected $newLineBeforeCurlyBracket = true;
    
    /**
     * Boolean that indicates if content inside round brackets must be
     * surrounded by spaces
     * 
     * @var bool
     */
    protected $spacesInsideRoundBrackets = true;

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
Base::$alwaysWrapBlocks protected property Boolean that indicates if blocks of code must be wrapped in curly
brackets also if they contain only one instruction
1
Base::$indentation protected property Indentation character 1
Base::$newLine protected property New line character 1
Base::$recalcCommentsIndent protected property Boolean that indicates if multiline documentation comments
(for example JSDoc syntax) must be manipulated to match the
right indentation
Base::$renderComments protected property Boolean that indicates if comments must be rendered 1
Base::$spacesAroundOperators protected property Boolean that indicates if operators must be surrounded by spaces 1
Base::getAlwaysWrapBlocks public function Returns a boolean that indicates if blocks of code must be wrapped in
curly brackets also if they contain only one instruction
Base::getIndentation public function Returns the indentation character
Base::getNewLine public function Returns the new line character
Base::getNewLineBeforeCurlyBracket public function Returns a boolean that indicates if open curly brackets in code blocks
must be on a new line
Base::getRecalcCommentsIndent public function Returns a boolean that indicates if multiline documentation comments
(for example JSDoc syntax) must be manipulated to match the
right indentation
Base::getRenderComments public function Returns a boolean that indicates if comments must be rendered
Base::getSpacesAroundOperator public function Returns a boolean that indicates if operators must be surrounded by
spaces
Base::getSpacesInsideRoundBrackets public function Returns a boolean that indicates if content inside round brackets must be
surrounded by spaces
Base::__construct public function Class constructor
Expanded::$newLineBeforeCurlyBracket protected property Boolean that indicates if open curly brackets in code blocks must be
on a new line
Overrides Base::$newLineBeforeCurlyBracket
Expanded::$spacesInsideRoundBrackets protected property Boolean that indicates if content inside round brackets must be
surrounded by spaces
Overrides Base::$spacesInsideRoundBrackets

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal