-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonathan Hunt
committed
Feb 11, 2023
1 parent
bc09ed9
commit 01e08d0
Showing
15 changed files
with
621 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.diff | ||
*.patch |
103 changes: 91 additions & 12 deletions
103
docroot/sites/all/modules/contrib/entityreference/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,95 @@ | ||
DESCRIPTION | ||
=========== | ||
Provides a field type that can reference arbitrary entities. | ||
CONTENTS OF THIS FILE | ||
--------------------- | ||
|
||
SITE BUILDERS | ||
============= | ||
Note that when using a select widget, Entity reference loads all the | ||
entities in that list in order to get the entity's label. If there are | ||
too many loaded entities that site might reach its memory limit and crash | ||
(also known as WSOD). In such a case you are advised to change the widget | ||
to "autocomplete". If you get a WSOD when trying to edit the field | ||
settings, you can reach the widget settings directly by navigation to | ||
* Introduction | ||
* Requirements | ||
* Installation | ||
* Recommended Modules | ||
* Configuration | ||
* Maintainers | ||
|
||
admin/structure/types/manage/[ENTITY-TYPE]/fields/[FIELD-NAME]/widget-type | ||
|
||
INTRODUCTION | ||
------------ | ||
|
||
The Entity Reference module provides a field that can reference other entities. | ||
|
||
* For a full description of the module visit | ||
https://www.drupal.org/project/entityreference | ||
|
||
* To submit bug reports and feature suggestions, or to track changes visit | ||
https://www.drupal.org/project/issues/entityreference | ||
|
||
|
||
REQUIREMENTS | ||
------------ | ||
|
||
This module requires the following modules: | ||
|
||
* Entity API - https://www.drupal.org/project/entity | ||
* Chaos tool suite (ctools) - https://www.drupal.org/project/ctools | ||
|
||
|
||
RECOMMENDED MODULES | ||
------------------- | ||
|
||
Modules extending Entity reference functionality: | ||
|
||
* Entity Reference View Widget - | ||
https://www.drupal.org/project/entityreference_view_widget | ||
* Entityreference Prepopulate - | ||
https://www.drupal.org/project/entityreference_prepopulate | ||
* Inline Entity Form - https://www.drupal.org/project/inline_entity_form | ||
|
||
|
||
INSTALLATION | ||
------------ | ||
|
||
* Install the Entity Reference module as you would normally install a | ||
contributed Drupal module. Visit https://www.drupal.org/node/895232 for | ||
further information. | ||
|
||
|
||
CONFIGURATION | ||
-------------- | ||
|
||
1. Navigate to Administration > Modules and enable the Entity Reference | ||
module and its dependencies. | ||
2. To add an entity reference field to a node, navigate to Administration > | ||
Structure > Content types > [content type to edit] > Manage fields and | ||
add a new field. Add a title and select the entity reference field type. | ||
Select a widget: Select list, Autocomplete (Tags style), Autocomplete, or | ||
Check boxes/radio buttons. Save. | ||
3. From the Field Setting tab select the entity reference "Target type": | ||
Node, Comment, File, User, Taxonomy term, or Taxonomy vocabulary. | ||
4. From the Field Setting tab select select the Entity Selection Mode - | ||
Simple (with optional filter by bundle) is the default. Select how to | ||
Sort: Don't sort, A property of the base table of the entity, or A field | ||
attached to this entity. Select the sort field or property and the sort | ||
direction. Save. | ||
Now when authoring content there is an option to make reference to another | ||
entity. | ||
|
||
|
||
Note that when using a select widget, Entity reference loads all the entities | ||
in that list in order to get the entity's label. If there are too many loaded | ||
entities that site might reach its memory limit and crash(also known as WSOD). | ||
In such a case you are advised to change the widget to "autocomplete". If you | ||
get a WSOD when trying to edit the field settings, you can reach the widget | ||
settings directly by navigation to: | ||
|
||
* admin/structure/types/manage/[ENTITY-TYPE]/fields/[FIELD-NAME]/widget-type | ||
|
||
Replace ENTITY-TYPE and FIELD_NAME with the correct values. | ||
|
||
MAINTAINERS | ||
----------- | ||
|
||
* Mathew Winstone (minorOffense) - https://www.drupal.org/u/minoroffense | ||
* Bojan Živanović (bojanz) - https://www.drupal.org/u/bojanz | ||
* David Pascoe-Deslauriers (spotzero) - https://www.drupal.org/u/spotzero | ||
* Amitai Burstein (amitaibu) - https://www.drupal.org/u/amitaibu | ||
|
||
Supporting organizations: | ||
|
||
* Coldfront Labs Inc. - https://www.drupal.org/coldfront-labs-inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.