content => string (305) "Links for the Counselling Professional - This section consists of links to a...
$0['metatag'][1]['attributes']['content']
Links for the Counselling Professional - This section consists of links to a range of Web sites which may be of interest to you as a counselling professional. The page consists mostly of British Columbia websites. Websites from outside of BC are included if they would appear to be of particular interest.
alias => string (29) "/professional-resources-links"
$0['path'][0]['alias']
pid => string (2) "32"
$0['path'][0]['pid']
langcode => string (3) "und"
$0['path'][0]['langcode']
rh_action => array (1)
$0['rh_action']
0 => array (1)
$0['rh_action'][0]
value => string (14) "bundle_default"
$0['rh_action'][0]['value']
rh_redirect => array (0)
$0['rh_redirect']
rh_redirect_response => array (1)
$0['rh_redirect_response']
0 => array (1)
$0['rh_redirect_response'][0]
value => string (3) "301"
$0['rh_redirect_response'][0]['value']
rh_redirect_fallback_action => array (1)
$0['rh_redirect_fallback_action']
0 => array (1)
$0['rh_redirect_fallback_action'][0]
value => string (14) "bundle_default"
$0['rh_redirect_fallback_action'][0]['value']
publish_on => array (0)
$0['publish_on']
unpublish_on => array (0)
$0['unpublish_on']
publish_state => array (0)
$0['publish_state']
unpublish_state => array (0)
$0['unpublish_state']
menu_link => array (0)
$0['menu_link']
body => array (1)
$0['body']
0 => array (3)
$0['body'][0]
value => string (16728) "<div class="links_container"><p><strong>Links for the Counselling Profession...
$0['body'][0]['value']
<div class="links_container"><p><strong>Links for the Counselling Professional - </strong>This section consists of links to a range of Web sites which may be of interest to you as a counselling professional. The page consists mostly of British Columbia websites. Websites from outside of BC are included if they would appear to be of particular interest.<br><br>If you think that a particular site (not listed) is extremely important for counselling professionals in BC, please send it to <a href="mailto:info@counsellingbc.com">info@counsellingbc.com</a> . (Note: Please do not request that business links be posted.)<br><br>Also, please report any broken links or inaccuracies to the webmaster at the above email address.</p><p> </p><h2>Links for the Counselling Professional</h2><h3><br>B.C. Ministry for Children and Families</h3><p>Site offers information on a range of programs and services to children, youth, parents, families, people with special needs, and those fighting addictions.</p><p><a class="button button--secondary button--small" href="https://www.healthlinkbc.ca/find-care/find-health-services/agency/ministry-children-and-family-development" data-entity-type="external">Visit website</a><br> </p><h3>B.C. Psychological Association</h3><p>The site provides information for both the public and professionals. There is a calendar of events with presentations which are accessible to psychologists and other counselling professionals.</p><p><a class="button button--secondary button--small" href="http://www.psychologists.bc.ca">Visit website</a><br> </p><h3>Battered Women's Support Services</h3><p>Information on support groups and other services for women who have been abuse in their relationships. BWSS operates from a feminist perspective.</p><p><a class="button button--secondary button--small" href="http://www.bwss.org/">Visit website</a><br> </p><h3>BCACC</h3><p>This is the new British Columbia Association of Clinical Counsellors web site. This site will be an excellent resource for B.C. Registered Clinical Counsellors who wish to remain up to date on association issues. The web site now has a Professional Standards and Guidelines section which includes a number of useful documents for RCCs and the public. It also, like this site, will be listing professional development courses and information.</p><p><a class="button button--secondary button--small" href="http://bc-counsellors.org/">Visit website</a><br> </p><h3>BCASVACP</h3><p>This is the website for the BC Association of Specialized Victim Assistance and Counselling Programs. Since 1992, the Association has been a provincial voice for survivors of violence and the community-based services that support them.</p><p><a class="button button--secondary button--small" href="http://www.endingviolence.org/">Visit website</a><br> </p><h3>BCASW</h3><p>This is the new website for the BC Association of Social Workers. This site is an excellent resource for Registered Social Workers who wish to remain up to date on association issues. There is information about upcoming events, and you can view "Perspectives" on line. In addition, that Code of Ethics and practice standards of BCASW are posted.</p><p><a class="button button--secondary button--small" href="http://www.bcasw.org/">Visit website</a><br> </p><h3>Canadian Counselling and Psychotherapy Association (BC Chapter)</h3><p>The Canadian Counselling and Psychotherapy Association's B.C. Chapter established this web site to provide members with current information on the Chapter's activities and service, and to facilitate communication among its members.</p><p><a class="button button--secondary button--small" href="http://www.ccpa-accp.ca/en/chapters/britishcolumbia/">Visit website</a><br> </p><h3>Canadian Mental Health Association</h3><p>The CMHA focuses on combating mental health problems and emotional disorders. It provides information, educations and advocacy. It also collaborates with other organizations in conducting research.</p><p><a class="button button--secondary button--small" href="http://www.cmha.ca/">Visit website</a><br> </p><h3>Changeways Clinic Training</h3><p>Clinic is a private organization that offers evidence-based training to mental health professionals. Training programs address depression, stress management, and communication skills. Changeways also offers diversity awareness programs that relate to sexual orientation in healthcare.</p><p><a class="button button--secondary button--small" href="https://www.changeways.com/">Visit website</a><br> </p><h3>Collaborative Divorce BC</h3><p>Collaborative separation and divorce is a process that seeks to minimize the negative economic, social and emotional consequences of traditional family law litigation. Teams of professionals made up of mental health professionals (divorce coaches), collaborative family lawyers, a financial specialist and a child specialist can work together with family members. The degree to which each type of professional is involved will depend on the unique needs and circumstances of each family.</p><p><a class="button button--secondary button--small" href="https://www.collaborativedivorcebc.com/">Visit website</a><br> </p><h3>College of Psychologists of British Columbia</h3><p>The regulatory body of psychologists of BC</p><p><a class="button button--secondary button--small" href="http://www.collegeofpsychologists.bc.ca/">Visit website</a><br> </p><h3>EMDRIA</h3><p>EMDR International Association web site. This site provides information about Eye Movement Desensitization and Reprocessing as well as member services, member directory, training information and links to other sites.</p><p><a class="button button--secondary button--small" href="http://www.emdria.org/">Visit website</a><br> </p><h3>HeadsUpGuys</h3><p>Fantastic site out of University of British Columbia to help men with mental health issues. HeadsUpGuys includes a screening tool, practical tips, and recovery stories. There is also information for family and friends.</p><p><a class="button button--secondary button--small" href="https://headsupguys.org/">Visit website</a><br> </p><h3>Institute for the Study of Therapeutic Change</h3><p>This website provides information, as well as links to excellent books, on the therapeutic change process. I.S.T.C. is a research, training, and consultation group dedicated to understanding and promoting human change, growth, and potential. The Institute was founded by Dr. Scott Miller, Dr. Mark Hubble and Dr. Barry Duncan.</p><p><a class="button button--secondary button--small" href="http://talkingcure.com/">Visit website</a><br> </p><h3>Justice Institute of British Columbia</h3><p>The JI maintains a very wide range of respected training programs for counselling professionals. A visit to the site provides you with most of the information that you would need about their programs. Although you cannot yet register for courses online, there is a registration form which you can print.</p><p><a class="button button--secondary button--small" href="http://www.jibc.ca/">Visit website</a><br> </p><h3>National Eating Disorder Information Centre</h3><p>A Canadian, non-profit organization, established in 1985 to provide information and resources on eating disorders and weight preoccupation. Their goal is to promote healthy lifestyles that allow people to be fully engaged in their lives.</p><p><a class="button button--secondary button--small" href="http://www.nedic.ca/">Visit website</a><br> </p><h3>Canadian Sleep Society</h3><p>This website is an excellent resource for counselling professionals. It contains information on sleep research, "Sleep Hygiene" information, and other useful pdf files.</p><p><a class="button button--secondary button--small" href="https://css-scs.ca/">Visit website</a><br> </p><h3>PeerNetBC</h3><p>Their mission is to serve as a primary resource organization on self help/mutual aid in B.C.</p><p><a class="button button--secondary button--small" href="http://www.peernetbc.com/">Visit website</a><br> <br> </p><h3>University of British Columbia Continuing Education</h3><p>These pages of the Continuing Education site offer professional development courses as a result of a partnership of the School of Social Work and Family Studies.</p><p><a class="button button--secondary button--small" href="http://www.cstudies.ubc.ca/health">Visit website</a><br> </p><p> </p><hr><h2>Links useful for the General Public</h2><h3><br>Alzheimer Society of B.C.</h3><p>Provides information and support for those individuals affected directly or indirectly by Alzheimer disease.</p><p><a class="button button--secondary button--small" href="http://www.alzheimerbc.org/">Visit website</a><br> </p><h3>Arthritis Society - B.C. and Yukon Division</h3><p>The Arthritis Society (TAS), BC and Yukon division is a progressive not-for-profit organization committed to excellence and leadership in research, care, education and advocacy for people with arthritis.</p><p><a class="button button--secondary button--small" href="http://www.arthritis.ca/bc/">Visit website</a><br> </p><h3>BC Association of Clinical Counsellors</h3><p>This site provides information about counselling in British Columbia. It is short for the BC Association of Clinical Counsellors. BCACC provides information about the regulation of members, its code of ethics, and a searchable database by region.</p><p><a class="button button--secondary button--small" href="http://www.bc-counsellors.org">Visit website</a><br> </p><h3>B.C. Association of Specialized Victim Assistance and Counselling Programs</h3><p>A BC resource for community-based services that support survivors of sexual assault, relationship violence, child abuse and criminal harassment.</p><p><a class="button button--secondary button--small" href="http://www.endingviolence.org/">Visit website</a><br> </p><h3>B.C. Bereavement Helpline</h3><p>A primary service is the helpline which is free and is confidential. The HelpLine has assisted well over 25,000 callers with immediate telephone support assisting bereaved individuals in finding a bereavement support group in their community which best suits their needs.</p><p><a class="button button--secondary button--small" href="https://bcbh.ca/">Visit website</a><br> </p><h3>B.C. Psychological Association</h3><p>The site provides information for both the public and professionals. There is a calendar of events with presentations which are accessible to psychologists and other counselling professionals.</p><p><a class="button button--secondary button--small" href="http://www.psychologists.bc.ca">Visit website</a><br> </p><h3>B.C. Schizophrenia Society</h3><p>A non-profit organization dedicated to support, public education, and fund raising for research into Schizophrenia.</p><p><a class="button button--secondary button--small" href="http://www.bcss.org/">Visit website</a><br> </p><h3>B.C. Society for Male Survivors of Sexual Abuse</h3><p>A non-profit society, established to provide therapeutic services for males who have been sexually abused at some time in their lives.</p><p><a class="button button--secondary button--small" href="http://bc-malesurvivors.com/">Visit website</a><br> </p><h3>Battered Women's Support Services</h3><p>Information on support groups and other services for women who have been abuse in their relationships. BWSS operates from a feminist perspective.</p><p><a class="button button--secondary button--small" href="http://www.bwss.org/">Visit website</a><br> </p><h3>BCACC</h3><p>This site provides information about counselling in British Columbia. It is short for the BC Association of Clinical Counsellors. BCACC provides information about the regulation of members, its code of ethics, and a searchable database by region.</p><p><a class="button button--secondary button--small" href="http://bc-counsellors.org/">Visit website</a><br> </p><h3>BCASVACP</h3><p>This is the website for the BC Association of Specialized Victim Assistance and Counselling Programs. Since 1992, the Association has been a provincial voice for survivors of violence and the community-based services that support them.</p><p><a class="button button--secondary button--small" href="http://www.endingviolence.org/">Visit website</a><br> </p><h3>Collaborative Divorce BC</h3><p>Collaborative separation and divorce is a process that seeks to minimize the negative economic, social and emotional consequences of traditional family law litigation. Teams of professionals made up of mental health professionals (divorce coaches), collaborative family lawyers, a financial specialist and a child specialist can work together with family members. The degree to which each type of professional is involved will depend on the unique needs and circumstances of each family. Also click on Divorce Canada for an excellent introduction to Collaborative Separation and Divorce.</p><p><a class="button button--secondary button--small" href="https://www.collaborativedivorcebc.com/">Visit website</a><br> </p><h3>Families Change</h3><p>Very clever and informative website, developed by The Law Courts Education Society of BC, and the British Columbia Ministry of Attorney General and the Department of Justice. The site provides links to information to help young children, teens, and families deal with issues that surround divorce. The animated version, for children, is particularly well done.</p><p><a class="button button--secondary button--small" href="http://www.familieschange.ca/">Visit website</a><br> </p><h3>Fraser Valley Health Resource Directory</h3><p>A variety of community and hospital-based mental health services and programs are available in Fraser Health communities.</p><p><a class="button button--secondary button--small" href="http://www.fraserhealth.ca/your_care/mental-health-and-substance-use/mental_health_services/">Visit website</a><br> </p><h3>Gay Men's Counselling</h3><p>Gay Men's counselling a useful online counselling resource for Gay Men within BC and outside of BC. If you do not live in the province of British Columbia, and are accessing this service, you may wish to determine whether the counsellor is insured to practice in your province, state, or country.</p><p><a class="button button--secondary button--small" href="http://www.gaymenscounselling.com/">Visit website</a><br> </p><h3>International Network on Personal Meaning</h3><p>This is a BC based site with an international reach. The INPM is dedicated to advancing health, spirituality, peace and human fulfillment through research, education and applied psychology with a focus on the universal human quest for meaning and purpose.</p><p><a class="button button--secondary button--small" href="http://www.meaning.ca/">Visit website</a><br> </p><h3>Mental Health Net</h3><p>This site is not in B.C. but it is a wonderful resource. It offers a huge amount of useful information on mental health. Over 9,000 resources are indexed at present.</p><p><a class="button button--secondary button--small" href="http://mentalhelp.net/">Visit website</a><br> </p><h3>National Eating Disorder Information Centre</h3><p>A Canadian, non-profit organization, established in 1985 to provide information and resources on eating disorders and weight preoccupation. Their goal is to promote healthy lifestyles that allow people to be fully engaged in their lives.</p><p><a class="button button--secondary button--small" href="http://www.nedic.ca/">Visit website</a><br> </p><h3>PeerNetBC</h3><p>Serves as a resource for self-help and mutual support groups in B.C .</p><p><a class="button button--secondary button--small" href="http://www.peernetbc.com/">Visit website</a><br> </p><h3>The Canadian Mental Health Association - BC Division</h3><p><a class="button button--secondary button--small" href="https://bc.cmha.ca/">Visit website</a><br> </p><h3>The Ombudsman</h3><p>The Ombudsman receives inquiries and complaints about the practices and services provided by public bodies. She can investigate to determine if the public body is being fair to the people it serves.</p><p><a class="button button--secondary button--small" href="https://bcombudsperson.ca/">Visit website</a><br> </p><h3>Vancouver Rape Relief and Women's Shelter</h3><p>Offering 24 hour support over the phone and face to face peer counselling. This organization is a member of the Canadian Association of Sexual Assault Centers.</p><p><a class="button button--secondary button--small" href="http://www.rapereliefshelter.bc.ca/">Visit website</a><br> </p></div>
public __construct($layout_id, array $layout_settings = array(), array $components = array(), array $third_party_settings = array()) Constructs a new Section.
new \Drupal\layout_builder\Section()
/**
* Constructs a new Section.
*
* @param string $layout_id
* The layout plugin ID.
* @param array $layout_settings
* (optional) The layout plugin settings.
* @param \Drupal\layout_builder\SectionComponent[] $components
* (optional) The components.
* @param array[] $third_party_settings
* (optional) Any third party settings.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:65
public toRenderArray(array $contexts = array(), $in_preview = false): array Returns the renderable array for this section.
/**
* Returns the renderable array for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
* @param bool $in_preview
* TRUE if the section is being previewed, FALSE otherwise.
*
* @return array
* A renderable array representing the content of the section.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:85
public getLayout(array $contexts = array()): \Drupal\Core\Layout\LayoutInterface Gets the layout plugin for this section.
/**
* Gets the layout plugin for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
*
* @return \Drupal\Core\Layout\LayoutInterface
* The layout plugin.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:115
public getLayoutId(): string Gets the layout plugin ID for this section.
/**
* Gets the layout plugin ID for this section.
*
* @return string
* The layout plugin ID.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:132
public getLayoutSettings(): mixed[] Gets the layout plugin settings for this section.
/**
* Gets the layout plugin settings for this section.
*
* @return mixed[]
* The layout plugin settings.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:145
public setLayoutSettings(array $layout_settings): $this Sets the layout plugin settings for this section.
/**
* Sets the layout plugin settings for this section.
*
* @param mixed[] $layout_settings
* The layout plugin settings.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:157
public getDefaultRegion(): string Gets the default region.
/**
* Gets the default region.
*
* @return string
* The machine-readable name of the default region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:168
public getComponents(): \Drupal\layout_builder\SectionComponent[] Returns the components of the section.
/**
* Returns the components of the section.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components, keyed by the component UUID.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:178
public getComponent($uuid): \Drupal\layout_builder\SectionComponent Gets the component for a given UUID.
/**
* Gets the component for a given UUID.
*
* @param string $uuid
* The UUID of the component to retrieve.
*
* @return \Drupal\layout_builder\SectionComponent
* The component.
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:194
protected setComponent(Drupal\layout_builder\SectionComponent $component): $this Helper method to set a component.
/**
* Helper method to set a component.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:210
public removeComponent($uuid): $this Removes a given component from a region.
/**
* Removes a given component from a region.
*
* @param string $uuid
* The UUID of the component to remove.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:223
public appendComponent(Drupal\layout_builder\SectionComponent $component): $this Appends a component to the end of a region.
/**
* Appends a component to the end of a region.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component being appended.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:236
protected getNextHighestWeight($region): int Returns the next highest weight of the component in a region.
/**
* Returns the next highest weight of the component in a region.
*
* @param string $region
* The region name.
*
* @return int
* A number higher than the highest weight of the component in the region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:251
public getComponentsByRegion($region): \Drupal\layout_builder\SectionComponent[] Gets the components for a specific region.
/**
* Gets the components for a specific region.
*
* @param string $region
* The region name.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components in the specified region, sorted by weight.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:268
public insertAfterComponent($preceding_uuid, Drupal\layout_builder\SectionComponent $component): $this Inserts a component after a specified existing component.
/**
* Inserts a component after a specified existing component.
*
* @param string $preceding_uuid
* The UUID of the existing component to insert after.
* @param \Drupal\layout_builder\SectionComponent $component
* The component being inserted.
*
* @return $this
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:291
public insertComponent($delta, Drupal\layout_builder\SectionComponent $new_component): $this Inserts a component at a specified delta.
/**
* Inserts a component at a specified delta.
*
* @param int $delta
* The zero-based delta in which to insert the component.
* @param \Drupal\layout_builder\SectionComponent $new_component
* The component being inserted.
*
* @return $this
*
* @throws \OutOfBoundsException
* Thrown when the specified delta is invalid.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:314
protected layoutPluginManager(): \Drupal\Core\Layout\LayoutPluginManagerInterface Wraps the layout plugin manager.
/**
* Wraps the layout plugin manager.
*
* @return \Drupal\Core\Layout\LayoutPluginManagerInterface
* The layout plugin manager.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:343
public toArray(): array Returns an array representation of the section.
/**
* Returns an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @return array
* An array representation of the section component.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:355
public __clone() Magic method: Implements a deep clone.
clone $0['layout_builder__layout'][0]['section']
/**
* Magic method: Implements a deep clone.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:396
public getThirdPartySetting($provider, $key, $default = null) {@inheritdoc}
/**
* {@inheritdoc}
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:440
protected contextHandler(): \Drupal\Core\Plugin\Context\ContextHandlerInterface Wraps the context handler.
/**
* Wraps the context handler.
*
* @return \Drupal\Core\Plugin\Context\ContextHandlerInterface
* The context handler.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:450
public static Drupal\layout_builder\Section::fromArray(array $section): static Creates an object from an array representation of the section.
/**
* Creates an object from an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @param array $section
* An array of section data in the format returned by ::toArray().
*
* @return static
* The section object.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:377
public __construct($layout_id, array $layout_settings = array(), array $components = array(), array $third_party_settings = array()) Constructs a new Section.
new \Drupal\layout_builder\Section()
/**
* Constructs a new Section.
*
* @param string $layout_id
* The layout plugin ID.
* @param array $layout_settings
* (optional) The layout plugin settings.
* @param \Drupal\layout_builder\SectionComponent[] $components
* (optional) The components.
* @param array[] $third_party_settings
* (optional) Any third party settings.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:65
public toRenderArray(array $contexts = array(), $in_preview = false): array Returns the renderable array for this section.
/**
* Returns the renderable array for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
* @param bool $in_preview
* TRUE if the section is being previewed, FALSE otherwise.
*
* @return array
* A renderable array representing the content of the section.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:85
public getLayout(array $contexts = array()): \Drupal\Core\Layout\LayoutInterface Gets the layout plugin for this section.
/**
* Gets the layout plugin for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
*
* @return \Drupal\Core\Layout\LayoutInterface
* The layout plugin.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:115
public getLayoutId(): string Gets the layout plugin ID for this section.
/**
* Gets the layout plugin ID for this section.
*
* @return string
* The layout plugin ID.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:132
public getLayoutSettings(): mixed[] Gets the layout plugin settings for this section.
/**
* Gets the layout plugin settings for this section.
*
* @return mixed[]
* The layout plugin settings.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:145
public setLayoutSettings(array $layout_settings): $this Sets the layout plugin settings for this section.
/**
* Sets the layout plugin settings for this section.
*
* @param mixed[] $layout_settings
* The layout plugin settings.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:157
public getDefaultRegion(): string Gets the default region.
/**
* Gets the default region.
*
* @return string
* The machine-readable name of the default region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:168
public getComponents(): \Drupal\layout_builder\SectionComponent[] Returns the components of the section.
/**
* Returns the components of the section.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components, keyed by the component UUID.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:178
public getComponent($uuid): \Drupal\layout_builder\SectionComponent Gets the component for a given UUID.
/**
* Gets the component for a given UUID.
*
* @param string $uuid
* The UUID of the component to retrieve.
*
* @return \Drupal\layout_builder\SectionComponent
* The component.
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:194
protected setComponent(Drupal\layout_builder\SectionComponent $component): $this Helper method to set a component.
/**
* Helper method to set a component.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:210
public removeComponent($uuid): $this Removes a given component from a region.
/**
* Removes a given component from a region.
*
* @param string $uuid
* The UUID of the component to remove.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:223
public appendComponent(Drupal\layout_builder\SectionComponent $component): $this Appends a component to the end of a region.
/**
* Appends a component to the end of a region.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component being appended.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:236
protected getNextHighestWeight($region): int Returns the next highest weight of the component in a region.
/**
* Returns the next highest weight of the component in a region.
*
* @param string $region
* The region name.
*
* @return int
* A number higher than the highest weight of the component in the region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:251
public getComponentsByRegion($region): \Drupal\layout_builder\SectionComponent[] Gets the components for a specific region.
/**
* Gets the components for a specific region.
*
* @param string $region
* The region name.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components in the specified region, sorted by weight.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:268
public insertAfterComponent($preceding_uuid, Drupal\layout_builder\SectionComponent $component): $this Inserts a component after a specified existing component.
/**
* Inserts a component after a specified existing component.
*
* @param string $preceding_uuid
* The UUID of the existing component to insert after.
* @param \Drupal\layout_builder\SectionComponent $component
* The component being inserted.
*
* @return $this
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:291
public insertComponent($delta, Drupal\layout_builder\SectionComponent $new_component): $this Inserts a component at a specified delta.
/**
* Inserts a component at a specified delta.
*
* @param int $delta
* The zero-based delta in which to insert the component.
* @param \Drupal\layout_builder\SectionComponent $new_component
* The component being inserted.
*
* @return $this
*
* @throws \OutOfBoundsException
* Thrown when the specified delta is invalid.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:314
protected layoutPluginManager(): \Drupal\Core\Layout\LayoutPluginManagerInterface Wraps the layout plugin manager.
/**
* Wraps the layout plugin manager.
*
* @return \Drupal\Core\Layout\LayoutPluginManagerInterface
* The layout plugin manager.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:343
public toArray(): array Returns an array representation of the section.
/**
* Returns an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @return array
* An array representation of the section component.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:355
public __clone() Magic method: Implements a deep clone.
clone $0['layout_builder__layout'][1]['section']
/**
* Magic method: Implements a deep clone.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:396
public getThirdPartySetting($provider, $key, $default = null) {@inheritdoc}
/**
* {@inheritdoc}
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:440
protected contextHandler(): \Drupal\Core\Plugin\Context\ContextHandlerInterface Wraps the context handler.
/**
* Wraps the context handler.
*
* @return \Drupal\Core\Plugin\Context\ContextHandlerInterface
* The context handler.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:450
public static Drupal\layout_builder\Section::fromArray(array $section): static Creates an object from an array representation of the section.
/**
* Creates an object from an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @param array $section
* An array of section data in the format returned by ::toArray().
*
* @return static
* The section object.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:377
public __construct($layout_id, array $layout_settings = array(), array $components = array(), array $third_party_settings = array()) Constructs a new Section.
new \Drupal\layout_builder\Section()
/**
* Constructs a new Section.
*
* @param string $layout_id
* The layout plugin ID.
* @param array $layout_settings
* (optional) The layout plugin settings.
* @param \Drupal\layout_builder\SectionComponent[] $components
* (optional) The components.
* @param array[] $third_party_settings
* (optional) Any third party settings.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:65
public toRenderArray(array $contexts = array(), $in_preview = false): array Returns the renderable array for this section.
/**
* Returns the renderable array for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
* @param bool $in_preview
* TRUE if the section is being previewed, FALSE otherwise.
*
* @return array
* A renderable array representing the content of the section.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:85
public getLayout(array $contexts = array()): \Drupal\Core\Layout\LayoutInterface Gets the layout plugin for this section.
/**
* Gets the layout plugin for this section.
*
* @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts
* An array of available contexts.
*
* @return \Drupal\Core\Layout\LayoutInterface
* The layout plugin.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:115
public getLayoutId(): string Gets the layout plugin ID for this section.
/**
* Gets the layout plugin ID for this section.
*
* @return string
* The layout plugin ID.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:132
public getLayoutSettings(): mixed[] Gets the layout plugin settings for this section.
/**
* Gets the layout plugin settings for this section.
*
* @return mixed[]
* The layout plugin settings.
*
* @internal
* This method should only be used by code responsible for storing the data.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:145
public setLayoutSettings(array $layout_settings): $this Sets the layout plugin settings for this section.
/**
* Sets the layout plugin settings for this section.
*
* @param mixed[] $layout_settings
* The layout plugin settings.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:157
public getDefaultRegion(): string Gets the default region.
/**
* Gets the default region.
*
* @return string
* The machine-readable name of the default region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:168
public getComponents(): \Drupal\layout_builder\SectionComponent[] Returns the components of the section.
/**
* Returns the components of the section.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components, keyed by the component UUID.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:178
public getComponent($uuid): \Drupal\layout_builder\SectionComponent Gets the component for a given UUID.
/**
* Gets the component for a given UUID.
*
* @param string $uuid
* The UUID of the component to retrieve.
*
* @return \Drupal\layout_builder\SectionComponent
* The component.
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:194
protected setComponent(Drupal\layout_builder\SectionComponent $component): $this Helper method to set a component.
/**
* Helper method to set a component.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:210
public removeComponent($uuid): $this Removes a given component from a region.
/**
* Removes a given component from a region.
*
* @param string $uuid
* The UUID of the component to remove.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:223
public appendComponent(Drupal\layout_builder\SectionComponent $component): $this Appends a component to the end of a region.
/**
* Appends a component to the end of a region.
*
* @param \Drupal\layout_builder\SectionComponent $component
* The component being appended.
*
* @return $this
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:236
protected getNextHighestWeight($region): int Returns the next highest weight of the component in a region.
/**
* Returns the next highest weight of the component in a region.
*
* @param string $region
* The region name.
*
* @return int
* A number higher than the highest weight of the component in the region.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:251
public getComponentsByRegion($region): \Drupal\layout_builder\SectionComponent[] Gets the components for a specific region.
/**
* Gets the components for a specific region.
*
* @param string $region
* The region name.
*
* @return \Drupal\layout_builder\SectionComponent[]
* An array of components in the specified region, sorted by weight.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:268
public insertAfterComponent($preceding_uuid, Drupal\layout_builder\SectionComponent $component): $this Inserts a component after a specified existing component.
/**
* Inserts a component after a specified existing component.
*
* @param string $preceding_uuid
* The UUID of the existing component to insert after.
* @param \Drupal\layout_builder\SectionComponent $component
* The component being inserted.
*
* @return $this
*
* @throws \InvalidArgumentException
* Thrown when the expected UUID does not exist.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:291
public insertComponent($delta, Drupal\layout_builder\SectionComponent $new_component): $this Inserts a component at a specified delta.
/**
* Inserts a component at a specified delta.
*
* @param int $delta
* The zero-based delta in which to insert the component.
* @param \Drupal\layout_builder\SectionComponent $new_component
* The component being inserted.
*
* @return $this
*
* @throws \OutOfBoundsException
* Thrown when the specified delta is invalid.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:314
protected layoutPluginManager(): \Drupal\Core\Layout\LayoutPluginManagerInterface Wraps the layout plugin manager.
/**
* Wraps the layout plugin manager.
*
* @return \Drupal\Core\Layout\LayoutPluginManagerInterface
* The layout plugin manager.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:343
public toArray(): array Returns an array representation of the section.
/**
* Returns an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @return array
* An array representation of the section component.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:355
public __clone() Magic method: Implements a deep clone.
clone $0['layout_builder__layout'][2]['section']
/**
* Magic method: Implements a deep clone.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:396
public getThirdPartySetting($provider, $key, $default = null) {@inheritdoc}
/**
* {@inheritdoc}
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:440
protected contextHandler(): \Drupal\Core\Plugin\Context\ContextHandlerInterface Wraps the context handler.
/**
* Wraps the context handler.
*
* @return \Drupal\Core\Plugin\Context\ContextHandlerInterface
* The context handler.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:450
public static Drupal\layout_builder\Section::fromArray(array $section): static Creates an object from an array representation of the section.
/**
* Creates an object from an array representation of the section.
*
* Only use this method if you are implementing custom storage for sections.
*
* @param array $section
* An array of section data in the format returned by ::toArray().
*
* @return static
* The section object.
*/
Defined in <drupal>/core/modules/layout_builder/src/Section.php:377