class SchemaOrganizationType in Schema.org Metatag 7
Provides a plugin for the '@type' meta tag.
Hierarchy
- class \DrupalDefaultMetaTag implements DrupalMetaTagInterface
- class \DrupalTextMetaTag
- class \SchemaNameBase implements SchemaMetatagTestTagInterface
- class \SchemaTypeBase
- class \SchemaOrganizationType
- class \SchemaTypeBase
- class \SchemaNameBase implements SchemaMetatagTestTagInterface
- class \DrupalTextMetaTag
Expanded class hierarchy of SchemaOrganizationType
1 string reference to 'SchemaOrganizationType'
- schema_organization_metatag_info in schema_organization/
schema_organization.metatag.inc - Implements hook_metatag_info().
File
- schema_organization/
src/ SchemaOrganizationType.php, line 6
View source
class SchemaOrganizationType extends SchemaTypeBase {
/**
* {@inheritdoc}
*/
public static function labels() {
return [
'Organization',
'Airline',
'Corporation',
'EducationalOrganization',
'- CollegeOrUniversity',
'- ElementarySchool',
'- HighSchool',
'- MiddleSchool',
'- Preschool',
'- School',
'GovernmentOrganization',
'LocalBusiness',
'- AnimalShelter',
'- AutomotiveBusiness',
'-- AutoBodyShop',
'-- AutoDealer',
'-- AutoPartsStore',
'-- AutoRental',
'-- AutoRepair',
'-- AutoWash',
'-- GasStation',
'-- MotorcycleDealer',
'-- MotorcycleRepair',
'- ChildCare',
'- Dentist',
'- DryCleaningOrLaundry',
'- EmergencyService',
'-- FireStation',
'-- Hospital',
'-- PoliceStation',
'- EmploymentAgency',
'- EntertainmentBusiness',
'-- AdultEntertainment',
'-- AmusementPark',
'-- ArtGallery',
'-- Casino',
'-- ComedyClub',
'-- MovieTheater',
'-- NightClub',
'- FinancialService',
'-- AccountingService',
'-- AutomatedTeller',
'-- BankOrCreditUnion',
'-- InsuranceAgency',
'- FoodEstablishment',
'-- Bakery',
'-- BarOrPub',
'-- Brewery',
'-- CafeOrCoffeeShop',
'-- FastFoodRestaurant',
'-- IceCreamShop',
'-- Restaurant',
'-- Winery',
'- GovernmentOffice',
'-- PostOffice',
'- HealthAndBeautyBusiness',
'-- BeautySalon',
'-- DaySpa',
'-- HairSalon',
'-- HealthClub',
'-- NailSalon',
'-- TattooParlor',
'- HomeAndConstructionBusiness',
'-- Electrician',
'-- GeneralContractor',
'-- HVACBusiness',
'-- HousePainter',
'-- Locksmith',
'-- MovingCompany',
'-- Plumber',
'-- RoofingContractor',
'- InternetCafe',
'- LegalService',
'-- Attorney',
'-- Notary',
'- Library',
'- LodgingBusiness',
'-- BedAndBreakfast',
'-- Campground',
'-- Hostel',
'-- Hotel',
'-- Motel',
'-- Resort',
'- ProfessionalService',
'- RadioStation',
'- RealEstateAgent',
'- RecyclingCenter',
'- SelfStorage',
'- ShoppingCenter',
'- SportsActivityLocation',
'-- BowlingAlley',
'-- ExerciseGym',
'-- GolfCourse',
'-- HealthClub',
'-- PublicSwimmingPool',
'-- SkiResort',
'-- SportsClub',
'-- StadiumOrArena',
'-- TennisComplex',
'- Store',
'-- AutoPartsStore',
'-- BikeStore',
'-- BookStore',
'-- ClothingStore',
'-- ComputerStore',
'-- ConvenienceStore',
'-- DepartmentStore',
'-- ElectronicsStore',
'-- Florist',
'-- FurnitureStore',
'-- GardenStore',
'-- GroceryStore',
'-- HardwareStore',
'-- HobbyShop',
'-- HomeGoodsStore',
'-- JewelryStore',
'-- LiquorStore',
'-- MensClothingStore',
'-- MobilePhoneStore',
'-- MovieRentalStore',
'-- MusicStore',
'-- OfficeEquipmentStore',
'-- OutletStore',
'-- PawnShop',
'-- PetStore',
'-- ShoeStore',
'-- SportingGoodsStore',
'-- TireShop',
'-- ToyStore',
'-- WholesaleStore',
'- TelevisionStation',
'- TouristInformationCenter',
'- TravelAgency',
'MedicalOrganization',
'- Dentist',
'- Hospital',
'- Pharmacy',
'- Physician',
'NGO',
'PerformingGroup',
'- DanceGroup',
'- MusicGroup',
'- TheaterGroup',
'SportsOrganization',
'- SportsTeam',
];
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalDefaultMetaTag:: |
protected | property | The values submitted for this tag. | |
DrupalDefaultMetaTag:: |
protected | property | All of the basic information about this tag. | |
DrupalDefaultMetaTag:: |
protected | property | This item's weight; used for sorting the output. | |
DrupalDefaultMetaTag:: |
protected | function | Make sure a given URL is absolute. | |
DrupalDefaultMetaTag:: |
public | function |
Calculate the weight of this meta tag. Overrides DrupalMetaTagInterface:: |
|
DrupalDefaultMetaTag:: |
protected | function | Identify the maximum length of which strings will be allowed. | |
DrupalDefaultMetaTag:: |
public static | function |
Copied from text.module with the following changes:. Overrides DrupalMetaTagInterface:: |
|
DrupalDefaultMetaTag:: |
protected | function | Remove unwanted formatting from a meta tag. | |
DrupalDefaultMetaTag:: |
protected | function | Shorten a string to a certain length using ::textSummary(). | |
DrupalTextMetaTag:: |
public | function |
Get the string value of this meta tag. Overrides DrupalDefaultMetaTag:: |
1 |
SchemaNameBase:: |
protected | property | The schemaMetatagManager service. | |
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
public | function |
Get the HTML tag for this meta tag. Overrides DrupalDefaultMetaTag:: |
1 |
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
public static | function | Nested elements that cannot be exploded. | |
SchemaNameBase:: |
public static | function |
Transform input value to its display output. Overrides SchemaMetatagTestTagInterface:: |
2 |
SchemaNameBase:: |
public static | function | ||
SchemaNameBase:: |
public static | function |
Provide a test output value for the input value. Overrides SchemaMetatagTestTagInterface:: |
17 |
SchemaNameBase:: |
protected | function | Process an individual item. | |
SchemaNameBase:: |
public static | function |
Explode a test value. Overrides SchemaMetatagTestTagInterface:: |
|
SchemaNameBase:: |
public static | function |
Random absolute url for testing. Overrides SchemaMetatagTestTagInterface:: |
|
SchemaNameBase:: |
protected | function | Return the SchemaMetatagManager. | |
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
public static | function |
Provide a random test value. Overrides SchemaMetatagTestTagInterface:: |
|
SchemaNameBase:: |
public | function | ||
SchemaNameBase:: |
protected | function | The #states visibility selector for this element. | |
SchemaNameBase:: |
function |
Constructor. Overrides DrupalDefaultMetaTag:: |
1 | |
SchemaOrganizationType:: |
public static | function |
Return a list of object labels. Overrides SchemaTypeBase:: |
|
SchemaTypeBase:: |
public | function |
Generate a form element for this meta tag. Overrides SchemaNameBase:: |
|
SchemaTypeBase:: |
public static | function | Clean up a list of labels by removing leading spaces and dashes. | |
SchemaTypeBase:: |
public static | function |
Provide a test input value for the property that will validate. Overrides SchemaNameBase:: |
|
SchemaTypeBase:: |
public | function | Turn the list of types into an option list. | |
SchemaTypeBase:: |
public static | function | Return a list of object types. |